2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00
linux-next/sound/arm
Linus Walleij dc890c2dcd [ARM] 5544/1: Trust PrimeCell resource sizes
I found the PrimeCell/AMBA Bus drivers distrusting the resource
passed in as part of the struct amba_device abstraction. This
patch removes all hard coded resource sizes found in the PrimeCell
drivers and move the responsibility of this definition back to
the platform/board device definition, which already exist and
appear to be correct for all in-tree users of these drivers.
We do this using the resource_size() inline function which was
also replicated in the only driver using the resource size, so
that has been changed too. The KMI_SIZE was left in kmi.h in case
someone likes it. Test-compiled against Versatile and Integrator
defconfigs, seems to work but I don't posess these boards and
cannot test them.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-06-11 15:36:56 +01:00
..
aaci.c [ARM] 5544/1: Trust PrimeCell resource sizes 2009-06-11 15:36:56 +01:00
aaci.h Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-02-19 13:18:39 -08:00
devdma.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
devdma.h [ALSA] Remove xxx_t typedefs: ARM AACI 2006-01-03 12:20:01 +01:00
Kconfig ALSA: drop outdated and broken sa11xx-uda1341 driver 2009-03-17 17:58:13 +01:00
Makefile ALSA: drop outdated and broken sa11xx-uda1341 driver 2009-03-17 17:58:13 +01:00
pxa2xx-ac97-lib.c pxa2xx-ac97: fix reset gpio mode setting 2009-05-11 19:01:51 +01:00
pxa2xx-ac97.c Merge branch 'origin' into devel 2009-03-28 20:29:51 +00:00
pxa2xx-pcm-lib.c [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.h 2009-03-09 21:22:38 +08:00
pxa2xx-pcm.c ALSA: Separate common pxa2xx-pcm code 2008-09-23 08:18:10 +02:00
pxa2xx-pcm.h [ARM] pxa: explicit #include <mach/dma.h> in various drivers 2008-12-02 14:42:26 +08:00