linux_dsm_epyc7002/sound/soc/sof/intel
Pierre-Louis Bossart bb67dd1878
ASoC: SOF: Intel: hda: fix MSI handling
The addition of a kernel module parameter to optionally disable MSI
had the side effect of permanently disabling it.

The return value of pci_alloc_irq_vectors() is the number of allocated
vectors or a negative number on error, so testing with the ! operator
is not quite right. It was one optimization too far.

Restore previous behavior to use MSI by default, unless the user
selects not to do so or the allocation of irq_vectors fails.

Fixes: 672ff5e359 ('ASoC: SOF: Intel: hda: add a parameter to disable MSI')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190806170603.10815-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-08-07 14:19:32 +01:00
..
apl.c ASoC: SOF: Intel: implement runtime idle for CNL/APL 2019-07-06 12:23:47 +01:00
bdw.c ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
byt.c ASoC: Remove dev_err() usage after platform_get_irq() 2019-08-02 12:12:31 +01:00
cnl.c ASoC: SOF: Intel: hda: remove misleading error trace from IRQ thread 2019-07-23 12:16:53 +01:00
hda-bus.c ASoC: SOF: Intel: hda: set bus->idx as 0 2019-05-03 14:58:35 +09:00
hda-codec.c ASoC: SOF: Intel: hda: Enable jack detection 2019-07-23 12:21:03 +01:00
hda-ctrl.c ASoC: SOF: Intel: hda: remove duplicated clear WAKESTS 2019-07-23 12:21:37 +01:00
hda-dai.c ASoC: SOF: Intel: hda: fix stream id setting 2019-07-23 12:25:31 +01:00
hda-dsp.c ASoC: SOF: Intel: hda: fix stream id setting 2019-07-23 12:25:31 +01:00
hda-ipc.c ASoC: SOF: Intel: hda: remove misleading error trace from IRQ thread 2019-07-23 12:16:53 +01:00
hda-loader.c ASoC: SOF: Intel: hda: set I2S slave before enabling DSP 2019-05-03 14:58:11 +09:00
hda-pcm.c ASoC: SOF: Intel: hda-pcm: remove useless dependency on hdac_ext 2019-05-03 14:58:48 +09:00
hda-stream.c ASoC: SOF: Intel: hda: make sure RUN bit setting to 0 during clear stream status 2019-06-17 13:46:22 +01:00
hda-trace.c ASoC: SOF: Intel: Add Intel specific HDA trace operations 2019-04-28 02:51:23 +09:00
hda.c ASoC: SOF: Intel: hda: fix MSI handling 2019-08-07 14:19:32 +01:00
hda.h ASoC: SOF: Intel: hda: reset link DMA state in prepare 2019-07-23 12:22:02 +01:00
intel-ipc.c ASoC: SOF: Intel: Add legacy IPC support 2019-04-28 02:50:40 +09:00
Kconfig Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
Makefile ASoC: SOF: Add Build support for SOF core and Intel drivers 2019-04-28 02:51:46 +09:00
shim.h ASoC: SOF: Intel: hda: add SSP info to the chip info struct 2019-05-03 14:57:39 +09:00