All of lore.kernel.org
 help / color / mirror / Atom feed
* Broken headphone and speaker amplifier supplies for the rt5640 driver
@ 2013-07-26 15:06 Lars-Peter Clausen
  2013-07-26 16:57 ` Stephen Warren
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Lars-Peter Clausen @ 2013-07-26 15:06 UTC (permalink / raw)
  To: Stephen Warren, Bard Liao; +Cc: Linux-ALSA

Hi,

The rt5640 driver sets for both the headphone and speaker amplifier widget
the shift to SND_SOC_NOPM, which is -1. This doesn't make much sense and
breaks compilation with some changes I've made.

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.

- Lars

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

end of thread, other threads:[~2013-07-29  6:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 15:06 Broken headphone and speaker amplifier supplies for the rt5640 driver Lars-Peter Clausen
2013-07-26 16:57 ` Stephen Warren
2013-07-27 17:35 ` Mark Brown
2013-07-29  3:04   ` Broken headphone and speaker amplifier suppliesforthe " Bard Liao
2013-07-29  6:07     ` Mark Brown
2013-07-29  6:14       ` Lars-Peter Clausen
2013-07-29  6:45         ` Mark Brown
     [not found] ` <201307290148.r6T1mLk1013980@rtits1.realtek.com>
2013-07-29  2:48   ` Bard Liao

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.