]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: cs35l56: Allow a wider range for reset pulse width
authorSimon Trimmer <simont@opensource.cirrus.com>
Fri, 14 Apr 2023 13:37:50 +0000 (14:37 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 17 Apr 2023 11:55:48 +0000 (12:55 +0100)
commitb82396122b028a07ce2977e3f33123d7ab526d91
treea63fe40701a397352bfc991a6a9f00df32881b28
parent7d72351a4ef6e1e763bccc24d43c44ffbe1a1555
ASoC: cs35l56: Allow a wider range for reset pulse width

There is no reason to have such a tight usleep range of 400us and it is
acceptable to allow MIN_US * 2.

Also wrap the usleep in an inline function.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/168147949455.26.3401634900657387799@mailman-core.alsa-project.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c