1. 04 1月, 2018 1 次提交
  2. 03 1月, 2018 3 次提交
  3. 12 12月, 2017 1 次提交
  4. 22 11月, 2017 1 次提交
  5. 10 11月, 2017 1 次提交
  6. 31 10月, 2017 1 次提交
  7. 19 9月, 2017 1 次提交
    • J
      ASoC: rt5645: Make a few struct const · 72d7a16b
      Jean Delvare 提交于
      These dmi_system_id structures and associated platform data are
      never modified so they can be marked const.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Cc: Bard Liao <bardliao@realtek.com>
      Cc: Oder Chiou <oder_chiou@realtek.com>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Takashi Iwai <tiwai@suse.com>
      --
       sound/soc/codecs/rt5645.c |    8 ++++----
       1 file changed, 4 insertions(+), 4 deletions(-)
      Signed-off-by: NMark Brown <broonie@kernel.org>
      72d7a16b
  8. 14 9月, 2017 1 次提交
  9. 31 8月, 2017 1 次提交
  10. 23 8月, 2017 2 次提交
  11. 10 8月, 2017 1 次提交
    • B
      ASoC: codecs: add const to snd_soc_codec_driver structures · a180ba45
      Bhumika Goyal 提交于
      Declare snd_soc_codec_driver structures as const as they are only passed
      as an argument to the function snd_soc_register_codec. This argument is
      of type const, so declare the structures with this property as const.
      In file codecs/sn95031.c, snd_soc_codec_driver structure is also used in
      a copy operation along with getting passed to snd_soc_register_codec.
      So, it can be made const too.
      Done using Coccinelle:
      
      @match disable optional_qualifier@
      identifier s;
      position p;
      @@
      static struct snd_soc_codec_driver s@p={...};
      
      @good1@
      identifier match.s;
      position p;
      @@
      snd_soc_register_codec(...,&s@p,...)
      
      @bad@
      identifier match.s;
      position p!={match.p,good1.p};
      @@
      s@p
      
      @depends on !bad disable optional_qualifier@
      identifier match.s;
      @@
      static
      +const
      struct snd_soc_codec_driver s={...};
      Signed-off-by: NBhumika Goyal <bhumirks@gmail.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      a180ba45
  12. 30 6月, 2017 1 次提交
  13. 29 6月, 2017 6 次提交
  14. 06 4月, 2017 1 次提交
    • J
      ASoc: rt5645: Add OF device ID table · 9ba2da5f
      Javier Martinez Canillas 提交于
      The driver doesn't have a struct of_device_id table but supported devices
      are registered via Device Trees. This is working on the assumption that a
      I2C device registered via OF will always match a legacy I2C device ID and
      that the MODALIAS reported will always be of the form i2c:<device>.
      
      But this could change in the future so the correct approach is to have an
      OF device ID table if the devices are registered via OF.
      
      Before this patch:
      
      $ modinfo sound/soc/codecs/snd-soc-rt5645.ko | grep alias
      alias:          acpi*:10EC3270:*
      alias:          acpi*:10EC5640:*
      alias:          acpi*:10EC5650:*
      alias:          acpi*:10EC5648:*
      alias:          acpi*:10EC5645:*
      alias:          i2c:rt5650
      alias:          i2c:rt5645
      
      After this patch:
      
      $ modinfo sound/soc/codecs/snd-soc-rt5645.ko | grep alias
      alias:          of:N*T*Crealtek,rt5650C*
      alias:          of:N*T*Crealtek,rt5650
      alias:          of:N*T*Crealtek,rt5645C*
      alias:          of:N*T*Crealtek,rt5645
      alias:          acpi*:10EC3270:*
      alias:          acpi*:10EC5640:*
      alias:          acpi*:10EC5650:*
      alias:          acpi*:10EC5648:*
      alias:          acpi*:10EC5645:*
      alias:          i2c:rt5650
      alias:          i2c:rt5645
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      9ba2da5f
  15. 02 2月, 2017 1 次提交
  16. 01 2月, 2017 2 次提交
  17. 09 1月, 2017 2 次提交
  18. 08 8月, 2016 1 次提交
  19. 08 7月, 2016 1 次提交
  20. 07 7月, 2016 2 次提交
  21. 01 7月, 2016 2 次提交
  22. 05 5月, 2016 1 次提交
  23. 22 3月, 2016 1 次提交
  24. 26 2月, 2016 2 次提交
  25. 21 1月, 2016 1 次提交
  26. 05 1月, 2016 2 次提交