On Mon, Jan 26, 2015 at 04:24:38PM +0100, Nicolas Ferre wrote: > Le 16/01/2015 02:17, Bo Shen a écrit : > >> Does this end up in the i2c_driver_id driver data or do we need some > >> extra code when devtype is assigned to check for an of_node and look at > >> the DT data instead? That certainly used to be the case... > > At the beginning I think as the same as you, and also add the code to > > get the data as I do in <drivers/misc/atmel-ssc.c>. However, as I > > remember, I2C seems only use the compatible string after the comma, that > > means only for "wlf,wm8904", it uses "wm8904" to match. So, I remove all > > the code I added, and just keep these, and it can get the device type > > correctly. > > So, when I submit the patch and keep the code as simple as possible. > I don't understand what's keeping this patch from being applied. Voice, > do you mind re-sending? I need to convince myself that the above actually works and is doing the right thing; the above explanation sounds like if it works it might be relying on a bug.
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: [alsa-devel] [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- From: Lars-Peter Clausen
- Re: [alsa-devel] [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- References:
- [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- From: Bo Shen
- Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- From: Mark Brown
- Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- From: Bo Shen
- Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- From: Nicolas Ferre
- [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- Prev by Date: Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- Next by Date: Re: [alsa-devel] [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- Previous by thread: Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- Next by thread: Re: [alsa-devel] [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table
- Index(es):