[PATCH v5 2/3] ASoC: atmel-ssc-dai: register dai and pcm directly

From
Bo Shen <hidden>
Date
2012-11-13 09:38:04
Also in
alsa-devel, linux-devicetree, linux-sound
Reply to
Mark Brown, 2012-11-13
On 11/13/2012 17:20, Mark Brown wrote:
On Tue, Nov 13, 2012 at 05:10:26PM +0800, Bo Shen wrote:
quoted
On 11/13/2012 16:30, Mark Brown wrote:
quoted
quoted
Why are you changing this?  Single devices are supposed to specify -1 as
their id.
quoted
This is for non-dt support, using the id to tell which ssc will be
used to remap into audio subsystem. Maybe this is a mixed up usage,
however I can not find good solution, any suggestions?
The machine driver should know which SSC it is using all by itself, it's
specific to a particular machine.  This is how it's been doing it since
it was written...
So, you mean, I should hard code this into machine driver, am I right?
quoted
This is a similar implement as 7840487cd6298f9f931103b558290d8d98d41c49
Don't quote raw commit IDs, they're not legible by humans.
quoted
Yes, this patch is a little more than registration, however when
change the registration method, the related code will be affected,
so also clean up them in this patch, do I need to split this patch?
Yes, one change per patch.  Having many unrelated changes in one patch
makes it very difficult to review anything.
OK, I will split this patch.

Best Regards,
Bo Shen
Thread (11 messages) 11 messages, 2 authors, last reply 2012-11-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help