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>
This commit is contained in:
parent
74935aa083
commit
67bfb6833c
|
@ -238,7 +238,8 @@ MODULE_SUPPORTED_DEVICE("{{Intel, ICH6},"
|
|||
"{VIA, VT8251},"
|
||||
"{VIA, VT8237A},"
|
||||
"{SiS, SIS966},"
|
||||
"{ULI, M5461}}");
|
||||
"{ULI, M5461},"
|
||||
"{ZX, ZhaoxinHDA}}");
|
||||
MODULE_DESCRIPTION("Intel HDA driver");
|
||||
|
||||
#if defined(CONFIG_PM) && defined(CONFIG_VGA_SWITCHEROO)
|
||||
|
@ -1548,7 +1549,7 @@ static int check_position_fix(struct azx *chip, int fix)
|
|||
}
|
||||
|
||||
/* Check VIA/ATI HD Audio Controller exist */
|
||||
if (chip->driver_type == AZX_DRIVER_VIA) {
|
||||
if (chip->driver_type == AZX_DRIVER_VIA || chip->driver_type == AZX_DRIVER_ZHAOXIN) {
|
||||
dev_dbg(chip->card->dev, "Using VIACOMBO position fix\n");
|
||||
return POS_FIX_VIACOMBO;
|
||||
}
|
||||
|
@ -1702,7 +1703,7 @@ static void azx_check_snoop_available(struct azx *chip)
|
|||
|
||||
snoop = true;
|
||||
if (azx_get_snoop_type(chip) == AZX_SNOOP_TYPE_NONE &&
|
||||
chip->driver_type == AZX_DRIVER_VIA) {
|
||||
((chip->driver_type == AZX_DRIVER_VIA) || (chip->driver_type == AZX_DRIVER_ZHAOXIN))) {
|
||||
/* force to non-snoop mode for a new VIA controller
|
||||
* when BIOS is set
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue