mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
techpack: audio: fs1815: Remove unused variable
Change-Id: I82bcb734d0ffb2b52f70497457771ceaf9c7537e
This commit is contained in:
parent
f62d09d86b
commit
1509276e3f
1 changed files with 0 additions and 3 deletions
|
|
@ -1003,7 +1003,6 @@ int fsm_parse_preset(const void *data, uint32_t size)
|
|||
int fsm_swap_channel(fsm_dev_t *fsm_dev, int next_angle)
|
||||
{
|
||||
uint16_t left_chn;
|
||||
uint8_t i2sctrl;
|
||||
uint16_t chs12;
|
||||
int ret = 0;
|
||||
|
||||
|
|
@ -1036,10 +1035,8 @@ int fsm_swap_channel(fsm_dev_t *fsm_dev, int next_angle)
|
|||
chs12 = 3;
|
||||
}
|
||||
if (fsm_dev->is1958) {
|
||||
i2sctrl = 0x17;
|
||||
ret = fsm_set_bf(fsm_dev, 0x1317, chs12); // 0x17[4..3]
|
||||
} else {
|
||||
i2sctrl = 0x04;
|
||||
ret = fsm_set_bf(fsm_dev, 0x1304, chs12); // 0x04[4..3]
|
||||
}
|
||||
pr_addr(debug, "pos:%02X, CHS12:%d", fsm_dev->pos_mask, chs12);
|
||||
|
|
|
|||
Loading…
Reference in a new issue