Home
last modified time | relevance | path

Searched refs:next_scale (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dcs35l56-sdw.c306 int curr_scale, next_scale, ret; in cs35l56_a1_kick_divider() local
331 next_scale = sdw_read_no_pm(peripheral, next_scale_reg); in cs35l56_a1_kick_divider()
332 if (next_scale < 0) { in cs35l56_a1_kick_divider()
333 dev_err(cs35l56->base.dev, "Failed to read next clock scale: %d\n", next_scale); in cs35l56_a1_kick_divider()
334 return next_scale; in cs35l56_a1_kick_divider()
337 if (next_scale == CS35L56_SDW_INVALID_BUS_SCALE) { in cs35l56_a1_kick_divider()
338 next_scale = cs35l56->old_sdw_clock_scale; in cs35l56_a1_kick_divider()
339 ret = sdw_write_no_pm(peripheral, next_scale_reg, next_scale); in cs35l56_a1_kick_divider()
354 dev_dbg(cs35l56->base.dev, "Next bus scale: %#x\n", next_scale); in cs35l56_a1_kick_divider()