On Thu, Jan 16, 2014 at 09:31:23AM +0800, Bo Shen wrote: > >Shouldn't this code be in the DAI driver? Otherwise this series looks > >fine to me, though the DT folks might have something to say I guess. > For audio on Atmel SoC, it depends on three device nodes, one is > SSC node, one is the codec node and the sound node. > The sound node will parse by machine driver, and machine driver is > mainly for hardware connection. As the "clk_from_rk_pin" is decided > by hardware, so, I put it here. > If I move the code to dai driver, it will parse the sound node in > dai driver, I think it will make the code a little bit not explicit. > What do you think? I think it should just be a property of the DAI device. It's true that the card defines the connections but if something is going to be an option that's there for most if not all systems then putting it in the device driver means less effort on each integration.
Attachment:
signature.asc
Description: Digital signature
- References:
- [PATCH 0/3] ASoC: atmel_ssc_dai: add option to choose clock
- From: Bo Shen
- [PATCH 2/3] ASoC: atmel_wm8904: make it available to choose clock
- From: Bo Shen
- Re: [PATCH 2/3] ASoC: atmel_wm8904: make it available to choose clock
- From: Mark Brown
- Re: [PATCH 2/3] ASoC: atmel_wm8904: make it available to choose clock
- From: Bo Shen
- [PATCH 0/3] ASoC: atmel_ssc_dai: add option to choose clock
- Prev by Date: Re: [PATCH v2 3/3] Binding: atmel-wm8904: add option to choose clock
- Next by Date: Sound issue with stk1160 driver
- Previous by thread: Re: [PATCH 2/3] ASoC: atmel_wm8904: make it available to choose clock
- Next by thread: Re: [PATCH 2/3] ASoC: atmel_wm8904: make it available to choose clock
- Index(es):