techpack: audio: fs1815: Remove unused variable

Change-Id: I82bcb734d0ffb2b52f70497457771ceaf9c7537e
This commit is contained in:
Michael Bestas 2025-03-19 18:14:08 +02:00
commit 1509276e3f
No known key found for this signature in database

View file

@ -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);