summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2020-09-18 21:05:48 +0200
committerMark Brown <broonie@kernel.org>2020-09-22 00:57:23 +0200
commitbe05ab41c61858cce557a1fe863ed00f38e31e97 (patch)
tree259aea08ae0f54a8f7892f8e25a0351f2ad2530b /include/sound
parentASoC: tas2770: Fix the spacing and new lines (diff)
downloadlinux-be05ab41c61858cce557a1fe863ed00f38e31e97.tar.xz
linux-be05ab41c61858cce557a1fe863ed00f38e31e97.zip
ASoC: tas2770: Refactor sample rate function
Refactor the tas2770_set_samplerate to simplify the code and access the I2C bus only once per rate request. The ramp rate and sample rate bits are contained in the same register so a single call to the snd_soc_update_bits function is all that is needed Signed-off-by: Dan Murphy <dmurphy@ti.com> Link: https://lore.kernel.org/r/20200918190548.12598-9-dmurphy@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions