1. 28 11月, 2012 1 次提交
  2. 22 9月, 2012 4 次提交
  3. 19 9月, 2012 1 次提交
    • A
      ARM: omap: move platform_data definitions · 2203747c
      Arnd Bergmann 提交于
      Platform data for device drivers should be defined in
      include/linux/platform_data/*.h, not in the architecture
      and platform specific directories.
      
      This moves such data out of the omap include directories
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: "Benoît Cousson" <b-cousson@ti.com>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Ohad Ben-Cohen <ohad@wizery.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Omar Ramirez Luna <omar.ramirez@ti.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Cc: Jean Pihet <j-pihet@ti.com>
      Cc: J Keerthy <j-keerthy@ti.com>
      Cc: linux-omap@vger.kernel.org
      2203747c
  4. 13 9月, 2012 1 次提交
    • T
      ARM: OMAP2+: Prepare for irqs.h removal · 7d7e1eba
      Tony Lindgren 提交于
      As the interrupts should only be defined in the platform_data, and
      eventually coming from device tree, there's no need to define them
      in header files.
      
      Let's remove the hardcoded references to irqs.h and fix up the includes
      so we don't rely on headers included in irqs.h. Note that we're
      defining OMAP_INTC_START as 0 to the interrupts. This will be needed
      when we enable SPARSE_IRQ. For some drivers we need to add
      #include <plat/cpu.h> for now until these drivers are fixed to
      remove cpu_is_omapxxxx() usage.
      
      While at it, sort som of the includes the standard way, and add
      the trailing commas where they are missing in the related data
      structures.
      
      Note that for drivers/staging/tidspbridge we just define things
      locally.
      
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7d7e1eba
  5. 26 8月, 2012 4 次提交
  6. 23 8月, 2012 3 次提交
  7. 27 7月, 2012 1 次提交
  8. 23 5月, 2012 3 次提交
  9. 12 3月, 2012 9 次提交
  10. 04 2月, 2012 1 次提交
    • L
      ASoC: core: Add support for DAI and machine kcontrols. · 022658be
      Liam Girdwood 提交于
      Currently ASoC can only add kcontrols using codec and platform component device
      handles. It's also desirable to add kcontrols for DAIs (i.e. McBSP) and for
      SoC card machine drivers too. This allows the kcontrol to have a direct handle to
      the parent ASoC component DAI/SoC Card/Platform/Codec device and hence easily
      get it's private data.
      
      This change makes snd_soc_add_controls() static and wraps it in the folowing
      calls (card and dai are new) :-
      
      snd_soc_add_card_controls()
      snd_soc_add_codec_controls()
      snd_soc_add_dai_controls()
      snd_soc_add_platform_controls()
      
      This patch also does a lot of small mechanical changes in individual codec drivers
      to replace snd_soc_add_controls() with snd_soc_add_codec_controls().
      
      It also updates the McBSP DAI driver to use snd_soc_add_dai_controls().
      
      Finally, it updates the existing machine drivers that register controls to either :-
      
      1) Use snd_soc_add_card_controls() where no direct codec control is required.
      2) Use snd_soc_add_codec_controls() where there is direct codec control.
      
      In the case of 1) above we also update the machine drivers to get the correct
      component data pointers from the kcontrol (rather than getting the machine pointer
      via the codec pointer).
      Signed-off-by: NLiam Girdwood <lrg@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      022658be
  11. 17 12月, 2011 1 次提交
  12. 25 11月, 2011 1 次提交
  13. 23 11月, 2011 1 次提交
    • L
      ASoC: Constify snd_soc_dai_ops structs · 85e7652d
      Lars-Peter Clausen 提交于
      Commit 1ee46ebd("ASoC: Make the DAI ops constant in the DAI structure")
      introduced the possibility to have constant DAI ops structures, yet this is
      barley used in both existing drivers and also new drivers being submitted,
      although none of them modifies its DAI ops structure. The later is not
      surprising since existing drivers are often used as templates for new drivers.
      So this patch just constifies all existing snd_soc_dai_ops structs to eliminate
      the issue altogether.
      
      The patch was generated with the following coccinelle semantic patch:
      // <smpl>
      @@
      identifier ops;
      @@
      -struct snd_soc_dai_ops ops =
      +const struct snd_soc_dai_ops ops =
      { ... };
      // </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      85e7652d
  14. 10 10月, 2011 1 次提交
  15. 03 10月, 2011 1 次提交
    • J
      ASoC: omap-mcbsp: Prepare for init time DAI format setting · 4dd04172
      Jarkko Nikula 提交于
      Before commit 75d9ac46 ("ASoC: Allow DAI formats to be specified in the
      dai_link") expectation for omap-mcbsp was that snd_soc_dai_set_fmt is to be
      called first in machine hw_params callback before other CPU DAI functions.
      Thus it was enough that only omap_mcbsp_dai_set_dai_fmt cleared the
      mcbsp->regs structure.  [Note that this was pure convention, it's always
      been OK to set things on init -- broonie]
      
      Now this doesn't hold anymore since machine drivers can set the DAI format
      only once on init time and thus mcbsp->regs may get out of sync when other
      CPU DAI functions are modifying them dynamically with different values
      between the calls. Therefore clear the accessed mcbsp->regs bits and
      bitfields in other functions too.
      Signed-off-by: NJarkko Nikula <jarkko.nikula@bitmer.com>
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      4dd04172
  16. 30 9月, 2011 1 次提交
  17. 26 9月, 2011 1 次提交
  18. 23 9月, 2011 1 次提交
    • J
      ASoC: omap-mcbsp: Do not attempt to change DAI sysclk if stream is active · 34c86985
      Jarkko Nikula 提交于
      Attempt to change McBSP CLKS source while another stream is active is not
      safe after commit d1358657 ("OMAP: McBSP: implement functional clock
      switching via clock framework") in 2.6.37.
      
      CLKS parent clock switching using clock framework have to idle the McBSP
      before switching and then activate it again. This short break can cause a
      DMA transaction error to already running stream which halts and recovers
      only by closing and restarting the stream.
      
      This goes more fatal after commit e2fa61d4 ("OMAP3: l3: Introduce
      l3-interconnect error handling driver") in 2.6.39 where l3 driver detects a
      severe timeout error and does BUG_ON().
      
      Fix this by not changing any configuration in omap_mcbsp_dai_set_dai_sysclk
      if the McBSP is already active. This test should have been here just from
      the beginning anyway.
      Signed-off-by: NJarkko Nikula <jarkko.nikula@bitmer.com>
      Acked-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@kernel.org
      34c86985
  19. 12 8月, 2011 1 次提交
  20. 13 5月, 2011 1 次提交
  21. 11 5月, 2011 1 次提交
  22. 25 2月, 2011 1 次提交