commit | cb85bd3a0149453695d3620c99002142867d6d95 | [log] [tgz] |
---|---|---|
author | Judy Hsiao <judyhsiao@chromium.org> | Tue Jun 01 17:08:31 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 02 06:48:14 2021 |
tree | 95ae24c06dc1f4ee36bf172d14b2c786b9ebccda | |
parent | 2523b6f5112a3a11e9ffcd3aacf38cf023bdc427 [diff] |
CHROMIUM: ASoC: rockchip: i2s: only turns off BCLK when neither capture nor playback stream exists Fixes: 6854dee278bf "Reland "CHROMIUM: ASoC: rockchip: i2s: switch BCLK to GPIO"". BCLK should only be turned off when there is neither capture nor playback stream ongoing BUG=b:181795671 BUG=b:187142184 TEST=Check headset (with mic) has audio after insertion during playback. Signed-off-by: Judy Hsiao <judyhsiao@chromium.org> Change-Id: Ic3531a4ed0ab28e59a6b973d6a484c9736e005ee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2929409 Tested-by: Judy Hsiao <judyhsiao@chromium.org> Auto-Submit: Judy Hsiao <judyhsiao@chromium.org> Reviewed-by: Ben Zhang <benzh@chromium.org> Commit-Queue: Judy Hsiao <judyhsiao@chromium.org> (cherry picked from commit 1f1cfc9b33f8b74309efc507e80371cc92f13372) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2931588 Reviewed-by: Judy Hsiao <judyhsiao@chromium.org>