11 Jan
2013
11 Jan
'13
3:46 p.m.
On Fri, Jan 11, 2013 at 02:40:20PM +0100, Peter Ujfalusi wrote:
Since the core saves the previous bias_level in before suspend I can just do this here:
twl6040_set_bias_level(codec, codec->dapm.suspend_bias_level);
If we were in _OFF before it is going to do nothing, but if we were in _STANDBY it brings the codec back.
That'll work, yes (though removing the function when idle_bias_off is implemented would obviously be better).