1. 18 Oct, 2019 10 commits
  2. 16 Oct, 2019 4 commits
    • Shuming Fan's avatar
      ASoC: rt1011: Read and apply r0 and temperature device property · 8de6e755
      Shuming Fan authored
      Typically, the r0 (calibration data) and temperature were measured in the factory.
      This information is written into the non-volatile area
      where keeps data whether factory reset or OS update.
      In Chromium OS case, the coreboot will read the info from VPD and create
      the device property for each rt1011.
      Signed-off-by: default avatarShuming Fan <shumingf@realtek.com>
      Tested-By: default avatarCheng-Yi Chiang <cychiang@chromium.org>
      Link: https://lore.kernel.org/r/20191016085845.11672-1-shumingf@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      8de6e755
    • Shuming Fan's avatar
      ASoC: dt-bindings: rt1011: add r0 and temperature device property · cf775f68
      Shuming Fan authored
      Typically, the r0 (calibration data) and temperature were measured in the factory.
      This information is written into the non-volatile area
      where keeps data whether factory reset or OS update.
      Signed-off-by: default avatarShuming Fan <shumingf@realtek.com>
      Link: https://lore.kernel.org/r/20191016115617.23213-1-shumingf@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      cf775f68
    • Ben Dooks (Codethink)'s avatar
      ASoC: wm8958: use <asm/unaligned.h> to simplify code · 3ad00f6a
      Ben Dooks (Codethink) authored
      Simplify the memcpy/be32_to_cpu() code by simply using
      get_unaligned_be32() throughout and makes the code nicer
      to look at.
      
      This fixes the following warnings from sparse:
      
      sound/soc/codecs/wm8958-dsp2.c:62:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:62:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:62:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:62:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:62:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:62:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:69:15: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:69:15: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:69:15: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:69:15: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:69:15: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:69:15: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:72:18: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:72:18: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:72:18: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:72:18: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:72:18: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:72:18: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:91:17: warning: cast to restricted __be64
      sound/soc/codecs/wm8958-dsp2.c:108:29: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:108:29: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:108:29: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:108:29: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:108:29: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:108:29: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:120:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:120:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:120:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:120:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:120:26: warning: cast to restricted __be32
      sound/soc/codecs/wm8958-dsp2.c:120:26: warning: cast to restricted __be32
      Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
      Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20191016120149.5860-1-ben.dooks@codethink.co.ukSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      3ad00f6a
    • Shuming Fan's avatar
      ASoC: rt1011: set tx/rx slots from tx/rx_mask in TDM case · 81bd644f
      Shuming Fan authored
      The TX/RX slot configuration use tx/rx_mask which requested
      by the machine driver.
      Signed-off-by: default avatarShuming Fan <shumingf@realtek.com>
      Link: https://lore.kernel.org/r/20191016085754.11614-1-shumingf@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      81bd644f
  3. 15 Oct, 2019 5 commits
  4. 14 Oct, 2019 8 commits
  5. 10 Oct, 2019 12 commits
  6. 09 Oct, 2019 1 commit