OSDN Git Service

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:48:36 +0000 (07:48 +0200)
commit09b56641dddc92088bc2dd8d61ec229ce4bab8b0
treeab506cfe93b3c436be1b71e1e91b929a05cede6c
parentdd65a18b208fb2e03824ecf044e41c74b74423c1
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