ac100 team mailing list archive
-
ac100 team
-
Mailing list archive
-
Message #00368
Re: Fwd: [PATCH 2/3] staging: nvec: Fix of the speaker for the suspend/resume stages.
On Tue, Oct 18, 2011 at 22:57, Julian Andres Klode <jak@xxxxxxxxxxxxx> wrote:
> On Tue, Oct 18, 2011 at 09:37:17PM +0200, Leon Romanovsky wrote:
>> ---------- Forwarded message ----------
>> From: Leon Romanovsky <leon@xxxxxxx>
>> Date: Tue, Oct 18, 2011 at 21:30
>> Subject: [PATCH 2/3] staging: nvec: Fix of the speaker for the
>> suspend/resume stages.
>> To: marvin24@xxxxxx
>> Cc: Leon Romanovsky <leon@xxxxxxx>
>>
>>
>> Mute speakers before entering to the suspend state and unmute at the
>> resume state.
>>
>> Signed-off-by: Leon Romanovsky <leon@xxxxxxx>
>> ---
>> drivers/staging/nvec/nvec.c | 2 ++
>> 1 files changed, 2 insertions(+), 0 deletions(-)
> They should be in nvec_event.c, and actually you can call
> the mute/unmute functions that are there.
There are three reasons why I choose to write it in this way
1) Patches must be as minimal as possible, to help with bisect and review
2) The direct call didn't passed compilation, because nvec.c doesn't
see the paz00_unmute/paz00_mute <- I didn't want to invest more time
in it, see p.3
3) I don't think that paz00 related code must be in nvec codebase.
> --
> Julian Andres Klode - Debian Developer, Ubuntu Member
>
> See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
>
--
Leon Romanovsky | Independent Linux Consultant
www.leon.nu | leon@xxxxxxx
Follow ups
References