All of lore.kernel.org
 help / color / mirror / Atom feed
* [asoc-dev][RFC/PATCH 0/2] Generic DAPM register modifier widget
@ 2008-06-25 11:42 Jarkko Nikula
  2008-06-25 11:42 ` [asoc-dev][RFC/PATCH 1/2] ASoC: Add support for generic " Jarkko Nikula
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jarkko Nikula @ 2008-06-25 11:42 UTC (permalink / raw)
  To: alsa-devel

Hi

At least tlv320aic3x codec has several use cases where multiple register
bits are needed to change when widget power state changes and where
these are not worth/safe to expose into user space. Like mic bias
voltage.

Currently there is one use case for this multiple bit change in tlv320aic3x:

	SND_SOC_DAPM_MICBIAS("Mic Bias AVDD", MICBIAS_CTRL, 6, 0),
	SND_SOC_DAPM_MICBIAS("Mic Bias AVDD", MICBIAS_CTRL, 7, 0),

There are two problems with that:

1. Two widgets having the same name and thus snd_soc_dapm_add_route will
   add only first one them into audio path
2. Even then bits aren't modified at once and thus some fault bit
   configuration might be present while power state is changing.

So I came with this idea of generic register modifiers widget and event
handler for it.


-- 
Jarkko

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-06-26 10:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-25 11:42 [asoc-dev][RFC/PATCH 0/2] Generic DAPM register modifier widget Jarkko Nikula
2008-06-25 11:42 ` [asoc-dev][RFC/PATCH 1/2] ASoC: Add support for generic " Jarkko Nikula
2008-06-25 11:59   ` Liam Girdwood
2008-06-25 11:42 ` [asoc-dev][RFC/PATCH 2/2] ASoC: TLV320AIC3X: Use register modifier widget for mic bias Jarkko Nikula
2008-06-25 12:00   ` Liam Girdwood
2008-06-25 12:01 ` [asoc-dev][RFC/PATCH 0/2] Generic DAPM register modifier widget Liam Girdwood
2008-06-25 12:15   ` Jarkko Nikula
2008-06-25 15:40     ` Liam Girdwood
2008-06-26 10:11       ` Jarkko Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.