21 Jun
2014
21 Jun
'14
10:34 p.m.
On Mon, Jun 16, 2014 at 06:13:05PM +0200, Lars-Peter Clausen wrote:
Currently the DAPM code directly looks at the CODEC driver struct to get a handle to the set_bias_level() callback. This patch adds a new set_bias_level() callback to the DAPM context struct. The DAPM code will use this new callback instead of the CODEC callback. For CODECs the new callback is set up to call the CODEC specific set_bias_level callback(). Not looking directly at the CODEC driver struct will allow non CODEC DAPM contexts to implement a set_bias_level() callback.
Applied, thanks.