]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: audio: Update pm runtime support in dai_ops callback
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Thu, 4 Aug 2016 09:44:37 +0000 (15:14 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 4 Aug 2016 17:07:30 +0000 (19:07 +0200)
commitc388ae769699262bd48da1d529bbed731c2de559
tree2af35532ea8f7cc157550600935c5b5bda736c4b
parent956adf749d697decd9fb5f46aa0fbbc889f4dfe1
greybus: audio: Update pm runtime support in dai_ops callback

Ensure pm runtime get_sync/put protection in codec_dai ops callback
functions before accessing apbridge.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio_codec.c