1. 01 Jul, 2020 4 commits
    • Fabio Estevam's avatar
      ASoC: dt-bindings: simple-card: Fix 'make dt_binding_check' warnings · 88ba5f4a
      Fabio Estevam authored
      The following build warnings are seen with 'make dt_binding_check':
      
      Documentation/devicetree/bindings/sound/simple-card.example.dts:209.46-211.15: Warning (unit_address_vs_reg): /example-4/sound/simple-audio-card,cpu@0: node has a unit name, but no reg or ranges property
      Documentation/devicetree/bindings/sound/simple-card.example.dts:213.37-215.15: Warning (unit_address_vs_reg): /example-4/sound/simple-audio-card,cpu@1: node has a unit name, but no reg or ranges property
      Documentation/devicetree/bindings/sound/simple-card.example.dts:250.42-261.15: Warning (unit_address_vs_reg): /example-5/sound/simple-audio-card,dai-link@0: node has a unit name, but no reg or ranges property
      Documentation/devicetree/bindings/sound/simple-card.example.dts:263.42-288.15: Warning (unit_address_vs_reg): /example-5/sound/simple-audio-card,dai-link@1: node has a unit name, but no reg or ranges property
      Documentation/devicetree/bindings/sound/simple-card.example.dts:270.32-272.19: Warning (unit_address_vs_reg): /example-5/sound/simple-audio-card,dai-link@1/cpu@0: node has a unit name, but no reg or ranges property
      Documentation/devicetree/bindings/sound/simple-card.example.dts:273.23-275.19: Warning (unit_address_vs_reg): /example-5/sound/simple-audio-card,dai-link@1/cpu@1: node has a unit name, but no reg or ranges property
      Documentation/devicetree/bindings/sound/simple-card.example.dts:276.23-278.19: Warning (unit_address_vs_reg): /example-5/sound/simple-audio-card,dai-link@1/cpu@2: node has a unit name, but no reg or ranges property
      Documentation/devicetree/bindings/sound/simple-card.example.dts:279.23-281.19: Warning (unit_address_vs_reg): /example-5/sound/simple-audio-card,dai-link@1/cpu@3: node has a unit name, but no reg or ranges property
      Documentation/devicetree/bindings/sound/simple-card.example.dts:290.42-303.15: Warning (unit_address_vs_reg): /example-5/sound/simple-audio-card,dai-link@2: node has a unit name, but no reg or ranges property
      
      Fix them all.
      Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
      Link: https://lore.kernel.org/r/20200630223020.25546-1-festevam@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      88ba5f4a
    • Nathan Chancellor's avatar
      ASoC: Intel: KeemBay: Fix header guard · 9a7794bd
      Nathan Chancellor authored
      Clang warns:
      
       In file included from sound/soc/intel/keembay/kmb_platform.c:14:
       sound/soc/intel/keembay/kmb_platform.h:9:9: warning: 'KMB_PLATFORM_H_'
       is used as a header guard here, followed by #define of a different
       macro [-Wheader-guard]
       #ifndef KMB_PLATFORM_H_
               ^~~~~~~~~~~~~~~
       sound/soc/intel/keembay/kmb_platform.h:10:9: note: 'KMB_PLATFORMP_H_'
       is defined here; did you mean 'KMB_PLATFORM_H_'?
       #define KMB_PLATFORMP_H_
               ^~~~~~~~~~~~~~~~
               KMB_PLATFORM_H_
       1 warning generated.
      
      Fix the typo so that the header guard works as intended.
      
      Fixes: c5477e96 ("ASoC: Intel: Add KeemBay platform driver")
      Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
      Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Cc: Sia, Jee Heng <jee.heng.sia@intel.com>; alsa-devel@alsa-project.org; linux-kernel@vger.kernel.org; clang-built-linux@googlegroups.com; Nathan Chancellor <natechancellor@gmail.com>
      Link: https://github.com/ClangBuiltLinux/linux/issues/1053
      To: Rojewski, Cezary <cezary.rojewski@intel.com>; Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>; Liam Girdwood <liam.r.girdwood@linux.intel.com>; Jie Yang <yang.jie@linux.intel.com>; Mark Brown <broonie@kernel.org>
      Link: https://lore.kernel.org/r/20200617010232.23222-1-natechancellor@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      9a7794bd
    • Fabio Estevam's avatar
      ASoC: dt-bindings: keembay-i2s: Fix reg descriptions · 9308a3c9
      Fabio Estevam authored
      intel,keembay-i2s has two register regions:
      - I2S registers
      - I2S gen configuration
      
      Describe these regions accordingly to fix the following warning seen
      with 'make dt_binding_check':
      
      Documentation/devicetree/bindings/sound/intel,keembay-i2s.example.dt.yaml: example-0: i2s@20140000:reg:0: [538181632, 512, 539623588, 4] is too long
      Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
      Link: https://lore.kernel.org/r/20200630224459.27174-1-festevam@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      9308a3c9
    • Shengjiu Wang's avatar
      ASoC: fsl_sai: Refine regcache usage with pm runtime · d8d702e1
      Shengjiu Wang authored
      When there is dedicated power domain bound with device, after probing
      the power will be disabled, then registers are not accessible in
      fsl_sai_dai_probe(), so regcache only need to be enabled in end of
      probe() and regcache_mark_dirty should be moved to pm runtime resume
      callback function.
      Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
      Acked-by: default avatarNicolin Chen <nicoleotsuka@gmail.com>
      Link: https://lore.kernel.org/r/1593412953-10897-1-git-send-email-shengjiu.wang@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      d8d702e1
  2. 29 Jun, 2020 11 commits
  3. 26 Jun, 2020 19 commits
  4. 25 Jun, 2020 6 commits