]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: vx222: Fix invalid endian conversions
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 15:10:11 +0000 (17:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Jul 2018 06:23:28 +0000 (08:23 +0200)
commit7e06336cc9f9e25b355cd09cbde98ae6294896ed
treecc1fbec3c05fc22d1560960dfad7e465694709b0
parent6a29f20fdd142807aeadad50f6a60cc40997fbc8
ALSA: vx222: Fix invalid endian conversions

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>
sound/pci/vx222/vx222_ops.c