linux/arch/arm/mach-s3c64xx
Arnd Bergmann 9bdca822cb ASoC: samsung: pass filter function as pointer
As we are now passing the filter data as pointers to the drivers,
we can take the final step and also pass the filter function the
same way. I'm keeping this change separate, as there it's less
obvious that this is a net win.

Upsides of this are:

- The ASoC drivers are completely independent from the DMA engine
  implementation, which simplifies the Kconfig logic and in theory
  allows the same sound drivers to be built in a kernel that supports
  different kinds of dmaengine drivers.

- Consistency with other subsystems and drivers

On the other hand, we have a few downsides:

- The s3c24xx-dma driver now needs to be built-in for the ac97 platform
  device to be instantiated on s3c2440.

- samsung_dmaengine_pcm_config cannot be marked 'const' any more
  because the filter function pointer needs to be set at runtime.
  This is safe as long we don't have multiple different DMA engines
  in thet same system at runtime, but is nonetheless ugly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-11-21 13:27:22 +00:00
..
include/mach ASoC: samsung: pass DMA channels as pointers 2015-11-18 17:51:46 +00:00
ata-core.h ARM: SAMSUNG: local ata-core header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
backlight.h ARM: SAMSUNG: local backlight header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
common.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
common.h ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
cpuidle.c ARM: cpuidle: Remove duplicate header inclusion 2015-03-23 18:03:11 +01:00
crag6410.h ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore 2015-03-27 01:58:08 +09:00
dev-audio.c ASoC: samsung: pass filter function as pointer 2015-11-21 13:27:22 +00:00
dev-backlight.c ARM: S3C64XX: Use PWM lookup table for smdk6410 2015-10-13 05:04:22 +09:00
dev-uart.c ARM: S3C64XX: Use common macro to define resources on dev-uart.c 2012-05-12 16:12:26 +09:00
irq-pm.c ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
irq-uart.h ARM: SAMSUNG: local irq-uart header in mach-s3c64xx 2015-07-30 02:00:38 +09:00
Kconfig ARM: SAMSUNG: make local dev-backlight in mach-s3c64xx 2015-07-30 01:48:58 +09:00
mach-anw6410.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-crag6410-module.c ARM: S3C64XX: mach-crag6410-module.c is not modular 2014-02-16 02:05:44 +09:00
mach-crag6410.c ARM: SoC platform updates for v4.4 2015-11-10 14:56:23 -08:00
mach-hmt.c ARM: S3C64XX: Use PWM lookup table for mach-hmt 2015-10-13 05:04:22 +09:00
mach-mini6410.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-ncp.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-real6410.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-s3c64xx-dt.c Samsung cleanup for v4.3 2015-08-11 14:59:02 +02:00
mach-smartq5.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-smartq7.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-smartq.c ARM: SoC platform updates for v4.4 2015-11-10 14:56:23 -08:00
mach-smartq.h
mach-smdk6400.c ARM: s3c64xx: Leave disabling of unused PM domains to genpd 2014-09-09 00:46:12 +02:00
mach-smdk6410.c ARM: SoC platform updates for v4.4 2015-11-10 14:56:23 -08:00
Makefile ARM: SAMSUNG: make local dev-backlight in mach-s3c64xx 2015-07-30 01:48:58 +09:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
onenand-core.h ARM: SAMSUNG: local onenand-core header in mach-s3c64xx 2015-07-30 02:00:47 +09:00
pl080.c ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver 2013-11-24 14:38:24 +00:00
pm.c ARM: S3C64XX: fix building without CONFIG_PM_SLEEP 2015-02-27 05:50:22 +09:00
regs-gpio-memport.h ARM: S3C64XX: make regs-gpio-memport.h local 2013-01-10 10:45:39 -08:00
regs-modem.h ARM: S3C64XX: make regs-modem.h local 2013-01-10 10:45:39 -08:00
regs-srom.h ARM: S3C64XX: make regs-srom.h local 2013-01-10 10:45:39 -08:00
regs-sys.h ARM: S3C64XX: make regs-sys.h local 2013-01-10 10:45:40 -08:00
regs-syscon-power.h ARM: S3C64XX: make regs-syscon-power.h local 2013-01-10 10:45:40 -08:00
regs-usb-hsotg-phy.h ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
s3c6400.c ARM: SAMSUNG: local onenand-core header in mach-s3c64xx 2015-07-30 02:00:47 +09:00
s3c6410.c ARM: SAMSUNG: local onenand-core header in mach-s3c64xx 2015-07-30 02:00:47 +09:00
setup-fb-24bpp.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-i2c0.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-i2c1.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-ide.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-keypad.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-sdhci-gpio.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-spi.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-usb-phy.c ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
sleep.S ARM: pm: samsung: move cpu_suspend into C code 2011-06-24 08:48:44 +01:00
watchdog-reset.h ARM: SAMSUNG: local watchdog-reset header in mach-s3c64xx 2015-07-30 02:00:52 +09:00