mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
ASoC: cs35l56: Replace open-coded SoundWire regmap with generic regmap-sdw
Richard Fitzgerald <rf@opensource.cirrus.com> says: This series replaces the entirely custom SoundWire regmap with the generic regmap-sdw. The reasons for doing this are: - Avoid code duplication - Avoid effort of keeping custom implementation up-to-date - Prepare for supporting BRA Link: https://patch.msgid.link/20260521115420.978616-1-rf@opensource.cirrus.com
This commit is contained in:
commit
4c433607b6
|
|
@ -679,6 +679,7 @@ static int cs35l56_shared_test_case_base_init(struct kunit *test, u8 type, u8 re
|
|||
priv->cs35l56_base->rev = rev;
|
||||
|
||||
if (regmap_config) {
|
||||
priv->reg_offset = regmap_config->reg_base;
|
||||
ret = cs35l56_shared_test_case_regmap_init(test, regmap_config);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user