diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-18 18:50:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-18 18:50:07 -0500 |
commit | 13509c3a9d20a9df93dc9b944e8bd20fe1b454a7 (patch) | |
tree | d7a97d1d10e88bcb93852cb0143a000710e9e246 /sound | |
parent | 1ea406c0e08c717241275064046d29b5bac1b1db (diff) | |
parent | cfff1f4a9367bfe0d88413e8807f8369e9564729 (diff) |
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c changes from Wolfram Sang:
- new drivers for exynos5, bcm kona, and st micro
- bigger overhauls for drivers mxs and rcar
- typical driver bugfixes, cleanups, improvements
- got rid of the superfluous 'driver' member in i2c_client struct This
touches a few drivers in other subsystems. All acked.
* 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (38 commits)
i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()
i2c: i2c-eg20t: do not print error message in syslog if no ACK received
i2c: bcm-kona: Introduce Broadcom I2C Driver
i2c: cbus-gpio: Fix device tree binding
i2c: wmt: add missing clk_disable_unprepare() on error
i2c: designware: add new ACPI IDs
i2c: i801: Add Device IDs for Intel Wildcat Point-LP PCH
i2c: exynos5: Remove incorrect clk_disable_unprepare
i2c: i2c-st: Add ST I2C controller
i2c: exynos5: add High Speed I2C controller driver
i2c: rcar: fixup rcar type naming
i2c: scmi: remove some bogus NULL checks
i2c: sh_mobile & rcar: Enable the driver on all ARM platforms
i2c: sh_mobile: Convert to clk_prepare/unprepare
i2c: mux: gpio: use reg value for i2c_add_mux_adapter
i2c: mux: gpio: use gpio_set_value_cansleep()
i2c: Include linux/of.h header
i2c: mxs: Fix PIO mode on i.MX23
i2c: mxs: Rework the PIO mode operation
i2c: mxs: distinguish i.MX23 and i.MX28 based I2C controller
...
Diffstat (limited to 'sound')
-rw-r--r-- | sound/ppc/keywest.c | 4 | ||||
-rw-r--r-- | sound/soc/fsl/imx-wm8962.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c index 01aecc2b5073..0d1c27e911b8 100644 --- a/sound/ppc/keywest.c +++ b/sound/ppc/keywest.c | |||
@@ -65,7 +65,7 @@ static int keywest_attach_adapter(struct i2c_adapter *adapter) | |||
65 | * already bound. If not it means binding failed, and then there | 65 | * already bound. If not it means binding failed, and then there |
66 | * is no point in keeping the device instantiated. | 66 | * is no point in keeping the device instantiated. |
67 | */ | 67 | */ |
68 | if (!keywest_ctx->client->driver) { | 68 | if (!keywest_ctx->client->dev.driver) { |
69 | i2c_unregister_device(keywest_ctx->client); | 69 | i2c_unregister_device(keywest_ctx->client); |
70 | keywest_ctx->client = NULL; | 70 | keywest_ctx->client = NULL; |
71 | return -ENODEV; | 71 | return -ENODEV; |
@@ -76,7 +76,7 @@ static int keywest_attach_adapter(struct i2c_adapter *adapter) | |||
76 | * This is safe because i2c-core holds the core_lock mutex for us. | 76 | * This is safe because i2c-core holds the core_lock mutex for us. |
77 | */ | 77 | */ |
78 | list_add_tail(&keywest_ctx->client->detected, | 78 | list_add_tail(&keywest_ctx->client->detected, |
79 | &keywest_ctx->client->driver->clients); | 79 | &to_i2c_driver(keywest_ctx->client->dev.driver)->clients); |
80 | return 0; | 80 | return 0; |
81 | } | 81 | } |
82 | 82 | ||
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/imx-wm8962.c index 361f94f09b11..61e48852b9e8 100644 --- a/sound/soc/fsl/imx-wm8962.c +++ b/sound/soc/fsl/imx-wm8962.c | |||
@@ -215,7 +215,7 @@ static int imx_wm8962_probe(struct platform_device *pdev) | |||
215 | goto fail; | 215 | goto fail; |
216 | } | 216 | } |
217 | codec_dev = of_find_i2c_device_by_node(codec_np); | 217 | codec_dev = of_find_i2c_device_by_node(codec_np); |
218 | if (!codec_dev || !codec_dev->driver) { | 218 | if (!codec_dev || !codec_dev->dev.driver) { |
219 | dev_err(&pdev->dev, "failed to find codec platform device\n"); | 219 | dev_err(&pdev->dev, "failed to find codec platform device\n"); |
220 | ret = -EINVAL; | 220 | ret = -EINVAL; |
221 | goto fail; | 221 | goto fail; |