Re: [RFC][PATCH 1/3] ASoC: ak4642: make sure snd_soc_codec value for ak4642

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Mark

Thank you for checking patch

> Could you be more specific about what you're trying to do here?  This
> patch adds additional uses of the global variable for finding the codec
> which is pretty much the opposite direction to where we want to go.  Is
> it possible you need multi-codec support?

Now, I would like to use 2 codecs (ak4642/da7210) in same time.
But if I select both 2 on .config (fsi-ak4642 / fsi-da7210),
kernel say WARNING which say
I can not use 2 soc-audio
(or can I select both ?)

So, I modified snd_soc_card :: dai_link
But, if I use "soc_codec_dev_ak4642" for snd_soc_device :: codec_dev,
snd_soc_codec of function parameter of "da7210" was ak4642's codec.
This mean register access of da7210 use ak4642's i2c address.
 -> o da7210 doesn't work
    o ak4642 register will be broken

I would like to do here is use correct i2c access for ak4642/da7210.
snd_soc_codec :: hw_write     -> i2c_master_send
snd_soc_codec :: control_data -> i2c_client (i2c address)

I'm not goot at detail of soc-audio.
what should I do in this case ?

Best regards
--
Kuninori Morimoto
 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux