mirror of https://github.com/thesofproject/sof.git
mediatek: mt8195: afe-drv: fix fs cppcheck warning
Define fs as signed integer in afe_irq_config to fix cppcheck warning. Fixes: 1b7f8ed2a6(drivers: mtk: add afe driver for mtk mt8195) Signed-off-by: YC Hung <yc.hung@mediatek.com>
This commit is contained in:
parent
b5248054c5
commit
8b6fb345da
|
@ -292,7 +292,7 @@ int afe_irq_clear(struct mtk_base_afe *afe, int id)
|
|||
int afe_irq_config(struct mtk_base_afe *afe, int id, unsigned int rate, unsigned int period)
|
||||
{
|
||||
struct mtk_base_afe_irq *irq = &afe->irqs[id];
|
||||
unsigned int fs;
|
||||
int fs;
|
||||
|
||||
afe_reg_update_bits(afe, irq->irq_data->irq_cnt_reg,
|
||||
irq->irq_data->irq_cnt_maskbit << irq->irq_data->irq_cnt_shift,
|
||||
|
|
Loading…
Reference in New Issue