]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: vxpocket: Fix invalid endian conversions
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 15:11:38 +0000 (17:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Aug 2018 05:44:53 +0000 (07:44 +0200)
commit3baebed5997e5f69239dc6796eb8a03031614f53
treee991fe9d54336db8da09c4b1a5972656bcf60f1d
parent349a3ed9b484f8a4e21aaedd5b7c74543732680d
ALSA: vxpocket: Fix invalid endian conversions

commit 3acd3e3bab95ec3622ff98da313290ee823a0f68 upstream.

The endian conversions used in vxp_dma_read() and vxp_dma_write() are
superfluous and even wrong on big-endian machines, as inw() and outw()
already do conversions.  Kill them.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pcmcia/vx/vxp_ops.c