linux-stable/sound/pci/vx222
Takashi Iwai f13a825ae2 ALSA: vx222: Fix invalid endian conversions
commit fff71a4c05 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>
2018-08-22 07:46:09 +02:00
..
Makefile
vx222.c ALSA: vx222: Use container_of() 2017-05-15 11:21:05 +02:00
vx222.h ALSA: vx222: Use container_of() 2017-05-15 11:21:05 +02:00
vx222_ops.c ALSA: vx222: Fix invalid endian conversions 2018-08-22 07:46:09 +02:00