[alsa-devel] Broken headphone and speaker amplifier supplies for the rt5640 driver

Mark Brown broonie at kernel.org
Sat Jul 27 19:35:09 CEST 2013


On Fri, Jul 26, 2013 at 05:06:12PM +0200, Lars-Peter Clausen wrote:

> I guess for the heaphone amplifier the right fix is to set the shift to
> RT5640_PWR_HA_BIT. For the speaker amplifier I'd assume that the right bit
> is RT5640_PWR_CLS_D_BIT. But the speaker amplifier widget also as an event
> callback in which it already seems to set/clear the bit. I think the right
> fix is to remove the register change from the event callback and set the
> shift to RT5640_PWR_CLS_D_BIT. But I neither have the hardware nor the
> datasheet, so this is all just an educated guess.

Or set the register to SND_SOC_NOPM allowing the manual sequencing which
is (I presume) needed?  If we're going to need an event to do the
sequencing we may as well have it do both writes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130727/27defd09/attachment.sig>


More information about the Alsa-devel mailing list