linux/sound/soc/loongson
YingKun Meng 1650e8a881
ASoC: loongson: change the type of variable irq to int
We use variable 'irq' to store the return value of fwnode_get_irq_byname().
A negative value indicates that the operation failed. If the type of 'irq'
is unsigned int, we never know if the operation failed.

Reported-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Closes: https://lore.kernel.org/loongarch/325dd825-6fa5-0ebc-4b7e-7acf2d2840e4@loongson.cn/
Signed-off-by: YingKun Meng <mengyingkun@loongson.cn>
Link: https://lore.kernel.org/r/20230619074649.3608726-1-mengyingkun@loongson.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-06-19 12:59:33 +01:00
..
Kconfig ASoC: loongson: add PCI dependency 2023-06-16 12:56:08 +01:00
loongson_card.c ASoC: loongson: fix error codes in loongson_card_parse_acpi() 2023-06-19 12:59:28 +01:00
loongson_dma.c
loongson_dma.h
loongson_i2s_pci.c
loongson_i2s.c ASoC: loongson: fix compile testing on 32-bit 2023-06-16 12:56:09 +01:00
loongson_i2s.h ASoC: loongson: change the type of variable irq to int 2023-06-19 12:59:33 +01:00
Makefile