Re: [PATCH v2] ALSA: Fix mute led GPIO on HP dv-series notebooks.

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

 



On Friday 15 Jan 2010 7:02:17 pm Kunal Gangakhedkar wrote:
> On Friday 15 Jan 2010 6:51:30 pm Takashi Iwai wrote:
> > At Fri, 15 Jan 2010 18:35:19 +0530,
> > Kunal Gangakhedkar wrote:
> > > 
> > > On my laptop (HP dv6-1110ax), there are no OEM strings in SMBIOS of type
> > > "HP_Mute_LED*". Hence, the GPIO for the mute button LED doesn't get set
> > > properly. I didn't find the strings in my cousin's laptop (HP dv9500t CTO)
> > > either.
> > > 
> > > As per the documentation of find_mute_led_gpio(), these strings occur
> > > in HP B-series systems - so, before scanning the SMBIOS strings, we need to
> > > check if we're dealing with a B-series system.
> > > Need to get confirmation from HP if this logic takes care of all the
> > > systems. I'm trying to poke a friend there.
> > > 
> > > Please let me know if this looks OK or needs changes.
> > 
> > Well, the open switch() for blike-system should be replaced with
> > set_hp_led_gpio().  That's the very purpose I proposed to create a
> > function.
> > 
> 
> I don't think you can do that since both cases (b-like and non-b-like) have
> different ways of setting the gpio. 
> 

Argh, sorry, my mistake - understood what you mean here 
after taking another look at the code.
My bad that I replied even before verifying it :(

Making the changes right away.

Thanks, 
Kunal
_______________________________________________
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