|PATCH] ASoC: Convert wm8510 to a new-style i2c driver
Subsystems (3)
Convert the wm8510 codec driver to the new (standard) device driver binding model.
---
Warning: this assumes that the playpaq has its codec chip on I2C bus 0, which may or may not be the case. Someone with this machine please test and report.
sound/soc/at32/playpaq_wm8510.c | 1 sound/soc/codecs/wm8510.c | 108 +++++++++++++++++++-------------------- sound/soc/codecs/wm8510.h | 1 3 files changed, 55 insertions(+), 55 deletions(-)
sound/soc/at32/playpaq_wm8510.c +1 -0
@@ -377,6 +377,7 @@ static struct snd_soc_machine snd_soc_mastatic struct wm8510_setup_data playpaq_wm8510_setup = { + .i2c_bus =0 , .i2c_address =0x1a , };
sound/soc/codecs/wm8510.c +53 -55
155 lines not on this page · raw message
sound/soc/codecs/wm8510.h +1 -0
@@ -94,6 +94,7 @@#define WM8510_MCLKDIV_12 (7 << 5)struct wm8510_setup_data { +int i2c_bus;unsigned short i2c_address; };
Signature · 1 line
Jean Delvare
Mark Brown
Acked-byQuoted 6 lines · Jean Delvare
Convert the wm8510 codec driver to the new (standard) device driver binding model.
Signed-off-by Jean Delvare <[email protected]>Cc Geoffrey Wossum <[email protected]>Cc Mark Brown <[email protected]>
for the codec part.
Quoted 11 lines · Mark Brown
Quoted 6 lines · Jean Delvare
Convert the wm8510 codec driver to the new (standard) device driver binding model.
Signed-off-by Jean Delvare <[email protected]>Cc Geoffrey Wossum <[email protected]>Cc Mark Brown <[email protected]>Acked-by Mark Brown <[email protected]>for the codec part.
Thanks for all the reviews Mark :)
Signature · 1 line
Jean Delvare
Quoted 2 lines · Jean Delvare
Convert the wm8510 codec driver to the new (standard) device driver binding model.
Hrm. This doesn't actually apply for me, even if I apply directly against 2.6.27-rc5 - I get rejects in wm8510.c in the main conversion hunk. Any chance you could regenerated it against Takashi's tree?
Quoted 2 lines
sound/soc/at32/playpaq_wm8510.c +0
-0
Hi Mark,
Quoted 7 lines · Mark Brown
Quoted 2 lines · Jean Delvare
Convert the wm8510 codec driver to the new (standard) device driver binding model.
Hrm. This doesn't actually apply for me, even if I apply directly against 2.6.27-rc5 - I get rejects in
wm8510.cin the main conversion hunk. Any chance you could regenerated it against Takashi's tree?
Sorry about that, apparently I messed up and corrupted the original source file before generating the patch. I'll start again from the correct file and will post an updated patch. I had a minor update to make anyway so I wanted to resend it.
Signature · 1 line
Jean Delvare