21 Oct
2008
21 Oct
'08
12:19 p.m.
On Tue, Oct 21, 2008 at 12:01:45PM +0200, Takashi Iwai wrote:
Cai, Cliff wrote:
BTW, are your changes to ad1980.c applicable unconditionally? For example,
--- a/sound/soc/codecs/ad1980.c +++ b/sound/soc/codecs/ad1980.c @@ -145,7 +145,7 @@ struct snd_soc_dai ad1980_dai = { .playback = { .stream_name = "Playback", .channels_min = 2,
.channels_max = 2,
.channels_max = 6,
This won't work if the machine side doesn't support the multi-channel. Right now, blackfin is the only one, but the codec driver should be generic.
This is fine - the ASoC core does constraint checks so if the controller doesn't support the extra channels user space will never be told about them.