History

ALSA: cs35l41: Fix for old systems which do not support command

Some older laptops using cs35l41 use firmware which does not support the CSPL_MBOX_CMD_SPK_OUT_ENABLE command. Firmware versions v0.28.0 and older do not support this command.

Stefan Binding committed 2 years ago

Commit d04ce411 parent 37f67ab4 files · +9 −7Browse files

Showing the changes to include (1 of 4 files). Show all

Unified · Split

include/sound/cs35l41.h+1−1
@@ -906,6 +906,6 @@ int cs35l41_init_boost(struct device *dev, struct regmap *regmap, · 905 unmodified lines
906bool cs35l41_safe_reset(struct regmap *regmap, enum cs35l41_boost_type b_type);906bool cs35l41_safe_reset(struct regmap *regmap, enum cs35l41_boost_type b_type);
907int cs35l41_mdsync_up(struct regmap *regmap);907int cs35l41_mdsync_up(struct regmap *regmap);
908int cs35l41_global_enable(struct device *dev, struct regmap *regmap, enum cs35l41_boost_type b_type,908int cs35l41_global_enable(struct device *dev, struct regmap *regmap, enum cs35l41_boost_type b_type,
909 int enable, bool firmware_running);909 int enable, struct cs_dsp *dsp);
910 910
911#endif /* __CS35L41_H */911#endif /* __CS35L41_H */