ASoC: codecs: rt9123: Fix sparse cast warning
authorChiYuan Huang <cy_huang@richtek.com>
Thu, 8 May 2025 03:01:23 +0000 (11:01 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 8 May 2025 14:41:14 +0000 (23:41 +0900)
commit07cb9b51076f452c286fb69f3af4c65e54affaa3
treebeaefbca63c8e918091ac6647ac0e316c981ac38
parentcece89eb2bd2634e7faf65f2ecfccfc4809261c8
ASoC: codecs: rt9123: Fix sparse cast warning

Use i2c block read/write API to fix casting warning.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505072140.iHyLlDN6-lkp@intel.com/
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://patch.msgid.link/185a5ffea22ebd20725fdc7739db6b6addfae3ad.1746672687.git.cy_huang@richtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt9123.c