1
0
Fork 0
alistair23-linux/sound/soc/samsung
Linus Torvalds 8ceafbfa91 Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm
Pull DMA mask updates from Russell King:
 "This series cleans up the handling of DMA masks in a lot of drivers,
  fixing some bugs as we go.

  Some of the more serious errors include:
   - drivers which only set their coherent DMA mask if the attempt to
     set the streaming mask fails.
   - drivers which test for a NULL dma mask pointer, and then set the
     dma mask pointer to a location in their module .data section -
     which will cause problems if the module is reloaded.

  To counter these, I have introduced two helper functions:
   - dma_set_mask_and_coherent() takes care of setting both the
     streaming and coherent masks at the same time, with the correct
     error handling as specified by the API.
   - dma_coerce_mask_and_coherent() which resolves the problem of
     drivers forcefully setting DMA masks.  This is more a marker for
     future work to further clean these locations up - the code which
     creates the devices really should be initialising these, but to fix
     that in one go along with this change could potentially be very
     disruptive.

  The last thing this series does is prise away some of Linux's addition
  to "DMA addresses are physical addresses and RAM always starts at
  zero".  We have ARM LPAE systems where all system memory is above 4GB
  physical, hence having DMA masks interpreted by (eg) the block layers
  as describing physical addresses in the range 0..DMAMASK fails on
  these platforms.  Santosh Shilimkar addresses this in this series; the
  patches were copied to the appropriate people multiple times but were
  ignored.

  Fixing this also gets rid of some ARM weirdness in the setup of the
  max*pfn variables, and brings ARM into line with every other Linux
  architecture as far as those go"

* 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm: (52 commits)
  ARM: 7805/1: mm: change max*pfn to include the physical offset of memory
  ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for bounce_limit calculations
  ARM: 7796/1: scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations
  ARM: 7795/1: mm: dma-mapping: Add dma_max_pfn(dev) helper function
  ARM: 7794/1: block: Rename parameter dma_mask to max_addr for blk_queue_bounce_limit()
  ARM: DMA-API: better handing of DMA masks for coherent allocations
  ARM: 7857/1: dma: imx-sdma: setup dma mask
  DMA-API: firmware/google/gsmi.c: avoid direct access to DMA masks
  DMA-API: dcdbas: update DMA mask handing
  DMA-API: dma: edma.c: no need to explicitly initialize DMA masks
  DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing with dma masks
  DMA-API: crypto: remove last references to 'static struct device *dev'
  DMA-API: crypto: fix ixp4xx crypto platform device support
  DMA-API: others: use dma_set_coherent_mask()
  DMA-API: staging: use dma_set_coherent_mask()
  DMA-API: usb: use new dma_coerce_mask_and_coherent()
  DMA-API: usb: use dma_set_coherent_mask()
  DMA-API: parport: parport_pc.c: use dma_coerce_mask_and_coherent()
  DMA-API: net: octeon: use dma_coerce_mask_and_coherent()
  DMA-API: net: nxp/lpc_eth: use dma_coerce_mask_and_coherent()
  ...
2013-11-14 07:55:21 +09:00
..
Kconfig ARM: S3C24XX: Fix possible dma selection warning 2013-10-21 05:32:48 +09:00
Makefile ASoC: bells: Add machine driver for Wolfson Bells boards 2012-08-09 19:34:30 +01:00
ac97.c ASoC: samsung: Rename DMA platform registration functions 2013-08-20 10:36:33 +01:00
bells.c ASoC: bells: Add missing route to power up DSP clock 2013-09-17 00:43:09 +01:00
dma.c DMA-API: sound: fix dma mask handling in a lot of drivers 2013-10-31 14:48:47 +00:00
dma.h ASoC: samsung: Rename DMA platform registration functions 2013-08-20 10:36:33 +01:00
goni_wm8994.c ASoC: switch over to use snd_soc_register_component() on goni_wm8994 2013-03-26 21:57:42 +00:00
h1940_uda1380.c ASoC: samsung: move plat/ headers to local directory 2013-04-11 18:17:38 +01:00
i2s-regs.h ASoC: Samsung: I2S: Modify the I2S driver to support I2S on Exynos5420 2013-08-13 13:44:09 +01:00
i2s.c Merge remote-tracking branch 'asoc/topic/samsung' into asoc-next 2013-11-03 22:04:20 -08:00
i2s.h ASoC: samsung: Rename samsung i2s secondary device name 2013-01-24 14:40:13 +08:00
idma.c DMA-API: sound: fix dma mask handling in a lot of drivers 2013-10-31 14:48:47 +00:00
idma.h ASoC: Fix __iomem annotation for IDMA registers 2011-11-29 17:28:16 +00:00
jive_wm8750.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
littlemill.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
ln2440sbc_alc650.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
lowland.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
neo1973_wm8753.c ASoC: dfbmcs320: make the driver common for other BT modules 2013-05-21 13:17:08 -05:00
pcm.c ASoC: samsung: Fix build error with dma function rename 2013-08-22 14:28:00 +01:00
pcm.h ASoC: SAMSUNG: Move PCM specific definitions into pcm.c 2011-01-10 11:38:22 +00:00
regs-ac97.h ASoC: samsung: move plat/ headers to local directory 2013-04-11 18:17:38 +01:00
regs-i2s-v2.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
regs-iis.h ASoC: samsung: move plat/ headers to local directory 2013-04-11 18:17:38 +01:00
rx1950_uda1380.c ASoC: samsung: move plat/ headers to local directory 2013-04-11 18:17:38 +01:00
s3c-i2s-v2.c ASoC: samsung: Use CONFIG_ARCH_S3C64XX to check for S3C64XX support 2013-10-06 09:01:56 +09:00
s3c-i2s-v2.h ASoC: switch over to use snd_soc_register_component() on s3c i2s 2013-03-26 21:57:31 +00:00
s3c24xx-i2s.c ASoC: samsung: Fix build error with dma function rename 2013-08-22 14:28:00 +01:00
s3c24xx-i2s.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
s3c24xx_simtec.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
s3c24xx_simtec.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
s3c24xx_simtec_hermes.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
s3c24xx_simtec_tlv320aic23.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
s3c24xx_uda134x.c ASoC: samsung: move plat/ headers to local directory 2013-04-11 18:17:38 +01:00
s3c2412-i2s.c ASoC: samsung: Fix build error with dma function rename 2013-08-22 14:28:00 +01:00
s3c2412-i2s.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
smartq_wm8987.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
smdk2443_wm9710.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
smdk_spdif.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
smdk_wm8580.c ASoC: samsung: Rename samsung i2s secondary device name 2013-01-24 14:40:13 +08:00
smdk_wm8580pcm.c ASoC: Samsung: Remove redundant platform_set_drvdata() 2013-05-12 20:49:13 +04:00
smdk_wm8994.c ASoC: smdk_wm8994: Add .pm to struct smdk_audio_driver 2013-10-16 12:59:12 +01:00
smdk_wm8994pcm.c ASoC: Samsung: Remove redundant platform_set_drvdata() 2013-05-12 20:49:13 +04:00
smdk_wm9713.c ASoC: Samsung: Do not register samsung audio dma device as pdev 2012-12-07 19:36:07 +09:00
spdif.c ASoC: samsung: Fix build error with dma function rename 2013-08-22 14:28:00 +01:00
spdif.h ASoC: Samsung: Rename from s3c24xx to samsung 2010-11-23 14:13:04 +00:00
speyside.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00
tobermory.c ASoC: Samsung: remove __dev* attributes 2012-12-10 00:30:19 +09:00