Re: [PATCH] New ASoC Drivers for ADI AD1938 codec

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

 



On Mon, Jul 13, 2009 at 04:12:14PM +0800, 宋宝华 wrote:
> I want to use ADC/DAC widgets.> static const struct snd_soc_dapm_widget ad1938_dapm_widgets[] = {>         SND_SOC_DAPM_DAC("DAC", "HiFi Playback", AD1938_DAC_CTRL0, 0, 1),>         SND_SOC_DAPM_ADC("ADC", "HiFi Capture", AD1938_ADC_CTRL0, 0, 1),> };> But for this AD1938 codec, DAC's work depends on ADC is powered on in> hardware.  I think there is no any mechanism to handle this kind of> strange depending now.  So is there a generic way to handle this?
Make the ADC power a SND_SOC_DAPM_SUPPLY() supplying both the DAC andthe ADC, with the ADC widget marged as having no power management._______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://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