diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2019-05-27 00:58:34 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-05-28 07:52:02 +0200 |
commit | 8af42130b50c4d38f48fa82f3f7be4606d01f595 (patch) | |
tree | 182bbd60e5530a4e00187f6d91a47f1ba4a78bae /sound/pci/hda/hda_intel.c | |
parent | bd2956e40edf2160f5c1a623d6d6c6ab7f8cd831 (diff) | |
download | linux-8af42130b50c4d38f48fa82f3f7be4606d01f595.tar.bz2 |
ALSA: hda: move polling_mode flag to struct hdac_bus
polling mode is a useful function in the get_response function. Move
polling_mode flag from struct azx to struct hdac_bus so people can
implement polling mode in their own get_response function without
adding a polling_mode flag in their local chip structure.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 489fb53c9b06..c0b466c96340 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -1710,7 +1710,7 @@ static int azx_create(struct snd_card *card, struct pci_dev *pci, /* Workaround for a communication error on CFL (bko#199007) and CNL */ if (IS_CFL(pci) || IS_CNL(pci)) - chip->polling_mode = 1; + azx_bus(chip)->polling_mode = 1; if (chip->driver_type == AZX_DRIVER_NVIDIA) { dev_dbg(chip->card->dev, "Enable delay in RIRB handling\n"); |