1. 28 4月, 2015 2 次提交
    • L
      ASoC: Route all bias level updates through the core · bd1204cb
      Lars-Peter Clausen 提交于
      Use the new snd_soc_codec_force_bias_level() helper function to invoke the
      bias_level callback of a driver instead of calling the callback by hand.
      Currently the effect of this is the same, but having all bias level updates
      go through a central place will allow us to move more of the bias level
      management into the DAPM core.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      bd1204cb
    • L
      ASoC: Add helper functions bias level management · fa880775
      Lars-Peter Clausen 提交于
      Currently drivers are responsible for managing the bias_level field of
      their DAPM context. The DAPM state itself is managed by the DAPM core
      though and the core has certain expectations on how and when the bias_level
      field should be updated. If drivers don't adhere to these undefined
      behavior can occur.
      
      This patch adds a few helper functions for manipulating the DAPM context
      state, each function with a description on when it should be used and what
      its effects are. This will also help us to move more of the bias_level
      management from drivers to the DAPM core.
      
      For convenience also add snd_soc_codec_* wrappers around these helpers.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      fa880775
  2. 17 4月, 2015 1 次提交
  3. 13 4月, 2015 1 次提交
    • K
      ASoC: Intel: fix array_size.cocci warnings · a5e5e12b
      kbuild test robot 提交于
      sound/soc/intel/haswell/sst-haswell-ipc.c:646:28-29: WARNING: Use ARRAY_SIZE
      
       Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
      
      Semantic patch information:
       This makes an effort to find cases where ARRAY_SIZE can be used such as
       where there is a division of sizeof the array by the sizeof its first
       element or by any indexed element or the element type. It replaces the
       division of the two sizeofs by ARRAY_SIZE.
      
      Generated by: scripts/coccinelle/misc/array_size.cocci
      
      CC: Jie Yang <yang.jie@intel.com>
      Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      a5e5e12b
  4. 12 4月, 2015 9 次提交
  5. 11 4月, 2015 4 次提交
  6. 10 4月, 2015 4 次提交
  7. 09 4月, 2015 13 次提交
  8. 08 4月, 2015 1 次提交
  9. 07 4月, 2015 5 次提交