projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4920b32
)
audio: Guard mixer path dependency fix
author
Christopher N. Hesse
<raymanfx@gmail.com>
Mon, 12 Feb 2018 00:47:48 +0000
(
01:47
+0100)
committer
Christopher N. Hesse
<raymanfx@gmail.com>
Sun, 4 Mar 2018 13:54:02 +0000
(13:54 +0000)
Change-Id: Id93d7941ae322a83488da3cea62c6eb36a6e9160
audio/audio_hw.c
patch
|
blob
|
blame
|
history
diff --git
a/audio/audio_hw.c
b/audio/audio_hw.c
index bd156343162eb52870bf6822798ebd66708f7a91..621107c2c17f3bbd9260c3ac1dd08e0e931b6b6c 100644
(file)
--- a/
audio/audio_hw.c
+++ b/
audio/audio_hw.c
@@
-1013,7
+1013,7
@@
int disable_snd_device(struct audio_device *adev,
update_mixer = true;
#endif /* DSP_POWEROFF_DELAY */
audio_route_reset_path(mixer_card->audio_route, snd_device_name);
- if (out_uc_info != NULL) {
+ if (
snd_device > SND_DEVICE_IN_BEGIN &&
out_uc_info != NULL) {
/*
* Cycle the rx device to eliminate routing conflicts.
* This prevents issues when an input route shares mixer controls with an output