[PATCH 1/3 Raring SRU] ALSA: hda - Add power state filtering

Tim Gardner tim.gardner at canonical.com
Mon Aug 5 08:37:56 UTC 2013


On 08/05/2013 09:03 AM, Seth Forshee wrote:
> On Sun, Aug 04, 2013 at 03:59:27AM -0600, Tim Gardner wrote:
>> From: Takashi Iwai <tiwai at suse.de>
>>
>> BugLink: http://bugs.launchpad.net/bugs/1183125
>>
>> Add a hook to struct hda_codec for filtering the target power state of
>> each widget when powering up/down.  The current hackish EAPD check is
>> implemented as the default hook pointer, too.
>>
>> This allows codec drivers to implement own power filter.  In the
>> upcoming changes, the generic parser will have the better power filter
>> based on the active paths.
>>
>> Signed-off-by: Takashi Iwai <tiwai at suse.de>
>> (cherry picked from commit 9419ab6b72325e20789a61004cf68dc9e909a009)
>>
>> Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
>
> This patch looks like it should have no functional change, and I don't
> think either of the subsequent patches depend on it. It looks safe
> enough, but it does contain a fair amount of churn. Are you sure this
> one is needed?
>
> Seth
>

I was basing the first commit on the info in 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1183125/comments/5 
- so perhaps the simplest fix is just patch 2 & 3.

rtg

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list