Skip to content

Commit 902fd49

Browse files
kv2019ibroonie
authored andcommitted
Revert "ASoC: SOF: Force polling mode on CFL and CNL"
This reverts commit 64ca9d9. The workaround is no longer needed after configuring HDAC bus with sync_write=1. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191008164443.1358-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent acf1b71 commit 902fd49

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎sound/soc/sof/intel/hda.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232
/* platform specific devices */
3333
#include "shim.h"
3434

35-
#define IS_CFL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0xa348)
36-
#define IS_CNL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x9dc8)
37-
3835
#define EXCEPT_MAX_HDR_SIZE 0x400
3936

4037
/*
@@ -262,10 +259,6 @@ static int hda_init(struct snd_sof_dev *sdev)
262259
/* HDA bus init */
263260
sof_hda_bus_init(bus, &pci->dev);
264261

265-
/* Workaround for a communication error on CFL (bko#199007) and CNL */
266-
if (IS_CFL(pci) || IS_CNL(pci))
267-
bus->polling_mode = 1;
268-
269262
bus->use_posbuf = 1;
270263
bus->bdl_pos_adj = 0;
271264
bus->sync_write = 1;

0 commit comments

Comments
 (0)