summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai2017-01-31 08:42:50 +0100
committerTakashi Iwai2017-02-03 17:30:58 +0100
commitc415022e487fbba19926b56b981c5474474c0465 (patch)
treea8606a2a2d5cb2a10dc2dab3a3adeebe7a298595 /sound
parentALSA: x86: Embed snd_intelhad into snd_card (diff)
downloadkernel-qcow2-linux-c415022e487fbba19926b56b981c5474474c0465.tar.gz
kernel-qcow2-linux-c415022e487fbba19926b56b981c5474474c0465.tar.xz
kernel-qcow2-linux-c415022e487fbba19926b56b981c5474474c0465.zip
ALSA: x86: Drop superfluous CHT PCI ID check
Since the config base offset is now set per pipe id, we don't have to check Cherry Trail PCI IDs any longer. Currently it's used only for debug prints. Let's drop it. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/x86/intel_hdmi_lpe_audio.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sound/x86/intel_hdmi_lpe_audio.c b/sound/x86/intel_hdmi_lpe_audio.c
index 6f823d4278bb..b84f7d92ed24 100644
--- a/sound/x86/intel_hdmi_lpe_audio.c
+++ b/sound/x86/intel_hdmi_lpe_audio.c
@@ -306,13 +306,6 @@ static int hdmi_lpe_audio_probe(struct platform_device *pdev)
void __iomem *mmio_start;
int ret = 0;
unsigned long flag_irq;
- static const struct pci_device_id cherryview_ids[] = {
- {PCI_DEVICE(0x8086, 0x22b0)},
- {PCI_DEVICE(0x8086, 0x22b1)},
- {PCI_DEVICE(0x8086, 0x22b2)},
- {PCI_DEVICE(0x8086, 0x22b3)},
- {}
- };
dev_dbg(&pdev->dev, "Enter %s\n", __func__);
dev_dbg(&pdev->dev, "dma_mask: %p\n", pdev->dev.dma_mask);
@@ -356,13 +349,6 @@ static int hdmi_lpe_audio_probe(struct platform_device *pdev)
INIT_WORK(&ctx->hdmi_audio_wq, _had_wq);
ctx->state = hdmi_connector_status_disconnected;
- if (pci_dev_present(cherryview_ids))
- dev_dbg(&pdev->dev, "%s: Cherrytrail LPE - Detected\n",
- __func__);
- else
- dev_dbg(&pdev->dev, "%s: Baytrail LPE - Assume\n",
- __func__);
-
/* assume pipe A as default */
ctx->had_config_offset = AUDIO_HDMI_CONFIG_A;