android_kernel_oneplus_msm8998/sound/pci/cs5535audio
Takashi Iwai dbc8ab8952 ALSA: cs5535audio: Fix invalid endian conversion
commit 69756930f2de0457d51db7d505a1e4f40e9fd116 upstream.

One place in cs5535audio_build_dma_packets() does an extra conversion
via cpu_to_le32(); namely jmpprd_addr is passed to setup_prd() ops,
which writes the value via cs_writel().  That is, the callback does
the conversion by itself, and we don't need to convert beforehand.

This patch fixes that bogus conversion.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-22 07:48:36 +02:00
..
cs5535audio.c ALSA: remove deprecated use of pci api 2015-04-16 12:19:52 +02:00
cs5535audio.h ALSA: cs5535audio: Fix invalid endian conversion 2018-08-22 07:48:36 +02:00
cs5535audio_olpc.c ALSA: cs5535audio: Use standard printk helpers 2014-02-26 16:45:25 +01:00
cs5535audio_pcm.c ALSA: cs5535audio: Fix invalid endian conversion 2018-08-22 07:48:36 +02:00
cs5535audio_pm.c ALSA: cs5535audio: Simplify PM callbacks 2015-01-09 16:24:20 +01:00
Makefile ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00