OSDN Git Service

android/hal-audio: Ignore write call when closing
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Mon, 10 Feb 2014 10:45:42 +0000 (11:45 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 10 Feb 2014 11:22:57 +0000 (13:22 +0200)
commit3290badf07006a3b6fcf4489d5585c90a98721b2
treece945080abb1c48b4a3572eea7b486e259dec91b
parent217b2102f17d3920ea2e6561ee025629aa8011a6
android/hal-audio: Ignore write call when closing

We should not try to neither auto-resume nor write when state is set to
NONE as this is case when we're being closed and it's ok do ignore
write request.
android/hal-audio.c