mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
ASoC: wm_hubs: Use explicit casts for converting to signed
Should be no behaviour change. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
3eadd88a37
commit
363947d7d9
@ -297,12 +297,12 @@ static void enable_dc_servo(struct snd_soc_codec *codec)
|
||||
hubs->dcs_codes_l, hubs->dcs_codes_r);
|
||||
|
||||
/* HPOUT1R */
|
||||
offset = reg_r;
|
||||
offset = (s8)reg_r;
|
||||
offset += hubs->dcs_codes_r;
|
||||
dcs_cfg = (u8)offset << WM8993_DCS_DAC_WR_VAL_1_SHIFT;
|
||||
|
||||
/* HPOUT1L */
|
||||
offset = reg_l;
|
||||
offset = (s8)reg_l;
|
||||
offset += hubs->dcs_codes_l;
|
||||
dcs_cfg |= (u8)offset;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user