Re: [PATCH v3 1/9] ASoC: rt5514: Switch to snd_soc_register_codec

2017-08-17 Thread jeffy
Hi Mark, On 08/18/2017 01:11 AM, Mark Brown wrote: On Thu, Aug 17, 2017 at 12:44:09PM +0800, Jeffy Chen wrote: Currently we are using devm_snd_soc_register_component, which would use legacy dai name. Switch to snd_soc_register_codec to use dai driver name. This is the wrong direction to be

Re: [PATCH v3 1/9] ASoC: rt5514: Switch to snd_soc_register_codec

2017-08-17 Thread Mark Brown
On Thu, Aug 17, 2017 at 12:44:09PM +0800, Jeffy Chen wrote: > Currently we are using devm_snd_soc_register_component, which would > use legacy dai name. > Switch to snd_soc_register_codec to use dai driver name. This is the wrong direction to be going in, we are trying to move all drivers to use

[PATCH v3 1/9] ASoC: rt5514: Switch to snd_soc_register_codec

2017-08-16 Thread Jeffy Chen
Currently we are using devm_snd_soc_register_component, which would use legacy dai name. Switch to snd_soc_register_codec to use dai driver name. Signed-off-by: Jeffy Chen --- Changes in v3: None Changes in v2: None sound/soc/codecs/rt5514-spi.c | 19 ++- 1 file changed, 14 in