summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvincenttew <vincenttew@google.com>2023-10-19 15:58:51 +0800
committerWill McVicker <willmcvicker@google.com>2024-04-16 12:27:03 -0700
commit65e6871930e5fbd73b7d8955fed83abf072af97e (patch)
tree943880f68bad83e247bae6118d9748fc22a61170
parent08e81ad5f2b00a51b725db467480994aad6a88b2 (diff)
downloadaoc-android14-gs-pixel-6.1.tar.gz
aoc: add quirk flags to default skip implicit FBandroid14-gs-pixel-6.1
Bug: 294495501 Change-Id: Ie1929a75017cad29b7a09ba5ee0afb391fc885a2 Signed-off-by: vincenttew <vincenttew@google.com>
-rw-r--r--alsa/aoc_alsa_usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/alsa/aoc_alsa_usb.c b/alsa/aoc_alsa_usb.c
index eec4167..c077afa 100644
--- a/alsa/aoc_alsa_usb.c
+++ b/alsa/aoc_alsa_usb.c
@@ -75,6 +75,8 @@ void usb_audio_offload_connect(struct snd_usb_audio *chip)
mutex_lock(&chip->mutex);
uadev[card_num].chip = chip;
uadev[card_num].card_num = card_num;
+ chip->quirk_flags &= ~QUIRK_FLAG_GENERIC_IMPLICIT_FB;
+ chip->quirk_flags |= QUIRK_FLAG_SKIP_IMPLICIT_FB;
mutex_unlock(&chip->mutex);
}