WSL2-Linux-Kernel/sound/ppc
David Gibson f571872671 powerpc: Move Power Macintosh drivers to generic byteswappers
ppc has special instruction forms to efficiently load and store values
in non-native endianness.  These can be accessed via the arch-specific
{ld,st}_le{16,32}() inlines in arch/powerpc/include/asm/swab.h.

However, gcc is perfectly capable of generating the byte-reversing
load/store instructions when using the normal, generic cpu_to_le*() and
le*_to_cpu() functions eaning the arch-specific functions don't have much
point.

Worse the "le" in the names of the arch specific functions is now
misleading, because they always generate byte-reversing forms, but some
ppc machines can now run a little-endian kernel.

To start getting rid of the arch-specific forms, this patch removes them
from all the old Power Macintosh drivers, replacing them with the
generic byteswappers.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2015-03-23 14:29:40 +11:00
..
Kconfig powerpc: Minor cleanup to sound/ppc/Kconfig 2009-10-27 16:42:42 +11:00
Makefile [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
awacs.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
awacs.h [ALSA] snd-powermac: style awacs.s and awacs.h 2008-04-24 12:00:38 +02:00
beep.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
burgundy.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
burgundy.h [ALSA] snd-powermac: Burgundy mixers for B&W and iMac 2008-04-24 12:00:38 +02:00
daca.c ALSA: ppc: remove __dev* attributes 2012-12-07 07:33:30 +01:00
keywest.c ALSA: ppc: keywest: Don't use i2c_client->driver 2013-10-03 22:28:29 +02:00
pmac.c powerpc: Move Power Macintosh drivers to generic byteswappers 2015-03-23 14:29:40 +11:00
pmac.h [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
powermac.c ALSA: ppc: drop owner assignment from platform_drivers 2014-10-20 16:22:02 +02:00
snd_ps3.c ALSA: ps3: Remove unnecessary snd_pcm_lib_preallocate_free_for_all() 2015-01-02 16:34:57 +01:00
snd_ps3.h ALSA: ps3: Add support for SPDIF/HDMI passthru 2008-10-20 08:06:39 +02:00
snd_ps3_reg.h Fix common misspellings 2011-03-31 11:26:23 -03:00
tumbler.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
tumbler_volume.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00