1. 12 Apr, 2013 3 commits
    • Girish K S's avatar
      spi/s3c64xx: modified error interrupt handling and init · c8c76a4e
      Girish K S authored
      commit 375981f2 upstream.
      
      The status of the interrupt is available in the status register,
      so reading the clear pending register and writing back the same
      value will not actually clear the pending interrupts. This patch
      modifies the interrupt handler to read the status register and
      clear the corresponding pending bit in the clear pending register.
      
      Modified the hwInit function to clear all the pending interrupts.
      Signed-off-by: default avatarGirish K S <ks.giri@samsung.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c8c76a4e
    • Lars-Peter Clausen's avatar
      regmap: cache Fix regcache-rbtree sync · 6ec0e8e1
      Lars-Peter Clausen authored
      commit 8abac3ba upstream.
      
      The last register block, which falls into the specified range, is not handled
      correctly. The formula which calculates the number of register which should be
      synced is inverse (and off by one). E.g. if all registers in that block should
      be synced only one is synced, and if only one should be synced all (but one) are
      synced. To calculate the number of registers that need to be synced we need to
      subtract the number of the first register in the block from the max register
      number and add one. This patch updates the code accordingly.
      
      The issue was introduced in commit ac8d91c8 ("regmap: Supply ranges to the sync
      operations").
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6ec0e8e1
    • Lars-Peter Clausen's avatar
      ASoC: dma-sh7760: Fix compile error · 93c86c49
      Lars-Peter Clausen authored
      commit 417a1178 upstream.
      
      The dma-sh7760 currently fails with the following compile error:
      	sound/soc/sh/dma-sh7760.c:346:2: error: unknown field 'pcm_ops' specified in initializer
      	sound/soc/sh/dma-sh7760.c:346:2: warning: initialization from incompatible pointer type
      	sound/soc/sh/dma-sh7760.c:347:2: error: unknown field 'pcm_new' specified in initializer
      	sound/soc/sh/dma-sh7760.c:347:2: warning: initialization makes integer from pointer without a cast
      	sound/soc/sh/dma-sh7760.c:348:2: error: unknown field 'pcm_free' specified in initializer
      	sound/soc/sh/dma-sh7760.c:348:2: warning: initialization from incompatible pointer type
      	sound/soc/sh/dma-sh7760.c: In function 'sh7760_soc_platform_probe':
      	sound/soc/sh/dma-sh7760.c:353:2: warning: passing argument 2 of 'snd_soc_register_platform' from incompatible pointer type
      	include/sound/soc.h:368:5: note: expected 'struct snd_soc_platform_driver *' but argument is of type 'struct snd_soc_platform *'
      
      This is due the misnaming of the snd_soc_platform_driver type name and 'ops'
      field. The issue was introduced in commit f0fba2ad("ASoC: multi-component - ASoC
      Multi-Component Support").
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      93c86c49
  2. 05 Apr, 2013 37 commits