[PATCH v2 0/2] Fix error check and cleanup for JH7110 TDM

From: Walker Chen
Date: Thu Jun 08 2023 - 09:58:00 EST


Some minor issues were found during addtional testing and static
analysis. The first patch fix the error check for the return value of
devm_reset_control_array_get_exclusive(). The second patch drop some
unused macros.

Fixes: fd4762b6b5cf ("ASoC: starfive: Add JH7110 TDM driver")

Changes since v1:
- Fix an error check in jh7110_tdm_clk_reset_get().
- Return to use *_BIT to indicate the shift and remove some unused macros.

---
v1: https://lore.kernel.org/all/20230607081439.1517-1-walker.chen@xxxxxxxxxxxxxxxx/

Walker Chen (2):
ASoC: starfive: Fix an error check in jh7110_tdm_clk_reset_get()
ASoC: starfive: Remove some unused macros

sound/soc/starfive/jh7110_tdm.c | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)

--
2.17.1