Skip to content

Commit 08663d9

Browse files
leoliu-ocWangYuli
authored andcommitted
ALSA: hda: Add support of Zhaoxin SB HDAC
zhaoxin inclusion category: feature ------------------- Add some special initialization for Zhaoxin SB HDAC. Signed-off-by: leoliu-oc <leoliu-oc@zhaoxin.com>
1 parent 03b28e4 commit 08663d9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sound/pci/hda/hda_intel.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,8 @@ static int check_position_fix(struct azx *chip, int fix)
15491549
}
15501550

15511551
/* Check VIA/ATI HD Audio Controller exist */
1552-
if (chip->driver_type == AZX_DRIVER_VIA) {
1552+
if (chip->driver_type == AZX_DRIVER_VIA ||
1553+
chip->driver_type == AZX_DRIVER_ZHAOXIN) {
15531554
dev_dbg(chip->card->dev, "Using VIACOMBO position fix\n");
15541555
return POS_FIX_VIACOMBO;
15551556
}
@@ -1703,7 +1704,7 @@ static void azx_check_snoop_available(struct azx *chip)
17031704

17041705
snoop = true;
17051706
if (azx_get_snoop_type(chip) == AZX_SNOOP_TYPE_NONE &&
1706-
chip->driver_type == AZX_DRIVER_VIA) {
1707+
(chip->driver_type == AZX_DRIVER_VIA || chip->driver_type == AZX_DRIVER_ZHAOXIN)) {
17071708
/* force to non-snoop mode for a new VIA controller
17081709
* when BIOS is set
17091710
*/

0 commit comments

Comments
 (0)