Mark Brown wrote:
On Fri, Mar 27, 2009 at 05:41:39PM +0100, Michael Trimarchi wrote:
I will start to write and test some code for avoid suspend of dac during
GSM call,
I think that it can be possibile. There are two possible approch:
This is a substantial task which needs to be done at at least the
subsystem level rather than in the individual drivers.
So change the audio susbsystem to provide an high hirarchical tree on
how the components
are connected and register and some methond to avoid suspend of an
entire subpart during
suspend.
I would like to avoid a modification to the wm8753.c file and maybe it
is possible to
overwrite the suspend and resume call, and call the oldone only if the
call is not active.
This needs to be done at least at the subsystem level, apart from
anything else you need to avoid powering down external components like
the headphone amplifier if they are active. You also need to handle the
bluetooth subsystem,
I don't know how the bloototh audio is routed, can you explain me this?
ensuring that if the audio is routed via that.
Ideally there would be a kernel wide interface for user space to use to
control this functionality.
Michael