ALSA: vx222: Fix invalid endian conversions
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 15:10:11 +0000 (17:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Aug 2018 05:46:09 +0000 (07:46 +0200)
commitf13a825ae2c6122ae53f1f12ed95ac77a7cc9d9b
tree00a0bc8ec8187ad36b0e3772440cba8606dc45b1
parentf7de68a8d6cd32c1e000a62fe20a7fc529af6851
ALSA: vx222: Fix invalid endian conversions

commit fff71a4c050ba46e305d910c837b99ba1728135e upstream.

The endian conversions used in vx2_dma_read() and vx2_dma_write() are
superfluous and even wrong on big-endian machines, as inl() and outl()
already do conversions.  Kill them.

Spotted by sparse, a warning like:
  sound/pci/vx222/vx222_ops.c:278:30: warning: incorrect type in argument 1 (different base types)

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