linux/sound/hda
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
..
ext ALSA: HDA: Dont check return for snd_hdac_chip_readl 2015-08-04 07:04:46 +02:00
array.c ALSA: hda - Move generic array helpers to core lib 2015-03-23 13:19:35 +01:00
hda_bus_type.c ALSA: hda - add HDA default codec match function 2015-06-03 11:58:49 +02:00
hdac_bus.c ALSA: hda - Add the controller helper codes to hda-core module 2015-04-16 07:27:58 +02:00
hdac_controller.c ALSA: hda - moved alloc/free stream pages function to controller library 2015-04-16 07:31:22 +02:00
hdac_device.c ALSA: hda - allow a codec to control the link power 2015-04-29 12:27:52 +02:00
hdac_i915.c ALSA: hda - Fix Skylake codec timeout 2015-07-20 09:33:24 +02:00
hdac_regmap.c ALSA: hda - Re-add the lost fake mute support 2015-06-11 11:55:48 +02:00
hdac_stream.c ALSA: hda - Fix NULL dereference from CA0132 DSP loader 2015-05-19 11:35:13 +02:00
hdac_sysfs.c ALSA: hda - Expose codec type sysfs 2015-04-13 10:43:54 +02:00
Kconfig ALSA: HDAC: move SND_HDA_PREALLOC_SIZE to core 2015-06-16 17:40:38 +02:00
local.h ALSA: hda - Add widget sysfs tree 2015-03-23 13:17:27 +01:00
Makefile ALSA: hdac_ext: add extended HDA bus 2015-06-11 11:57:54 +02:00
trace.c ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00
trace.h ALSA: hda - add hdac stream trace 2015-05-18 10:06:20 +02:00