Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoc: tas2781: Remove unnecessary line feed and space

Remove unnecessary line feed for tasdevice_dsp_create_ctrls,
and remove two unnecessary spaces in tas2563_digital_gain_get
and tas2563_digital_gain_put.

Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://patch.msgid.link/20240815042138.1997-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Shenghao Ding and committed by
Mark Brown
0a917354 60b5c173

+3 -4
+3 -4
sound/soc/codecs/tas2781-i2c.c
··· 157 157 158 158 mutex_lock(&tas_dev->codec_lock); 159 159 /* Read the primary device */ 160 - ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); 160 + ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); 161 161 if (ret) { 162 162 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); 163 163 goto out; ··· 203 203 vol = clamp(vol, 0, max); 204 204 mutex_lock(&tas_dev->codec_lock); 205 205 /* Read the primary device */ 206 - ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); 206 + ret = tasdevice_dev_bulk_read(tas_dev, 0, reg, data, 4); 207 207 if (ret) { 208 208 dev_err(tas_dev->dev, "%s, get AMP vol error\n", __func__); 209 209 rc = -1; ··· 423 423 return ret; 424 424 } 425 425 426 - static int tasdevice_dsp_create_ctrls( 427 - struct tasdevice_priv *tas_priv) 426 + static int tasdevice_dsp_create_ctrls(struct tasdevice_priv *tas_priv) 428 427 { 429 428 struct snd_kcontrol_new *dsp_ctrls; 430 429 char *prog_name, *conf_name;