2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/sound/hda/ext
Jeeja KP 5d942ce63c ALSA: HDA: Dont check return for snd_hdac_chip_readl
The snd_hdac_chip_readl return can never be less than zeros,
so no point in checking for the return value

This fixes following static checker warnings in
snd_hdac_ext_bus_parse_capabilities

       sound/hda/ext/hdac_ext_controller.c:47
 snd_hdac_ext_bus_parse_capabilities()
       warn: unsigned 'offset' is never less than zero.

       sound/hda/ext/hdac_ext_controller.c:54
 snd_hdac_ext_bus_parse_capabilities()
       warn: unsigned 'cur_cap' is never less than zero.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-08-04 07:04:46 +02:00
..
hdac_ext_bus.c ALSA: hda: provide default bus io ops extended hdac 2015-06-17 12:33:43 +02:00
hdac_ext_controller.c ALSA: HDA: Dont check return for snd_hdac_chip_readl 2015-08-04 07:04:46 +02:00
hdac_ext_stream.c ALSA: HDA: Fix stream assignment for host in decoupled mode 2015-08-04 07:04:35 +02:00
Makefile ALSA: hdac_ext: add extended stream capabilities 2015-06-11 11:59:22 +02:00