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:47:14 +0000 (07:47 +0200)
commit5cb120335cf46d87cdbe83b341bce3e9da03fee0
tree07438569098b1f4153cf1281ddc943da92e3af37
parente89ba2cfdb39adb6b8ee8bde09b2f5b70046e0e3
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