linux_dsm_epyc7002/drivers/media
Matthijs Kooijman 56411c0f1e [media] ene-ir: Fix cleanup on probe failure
This makes the cleanup on probe failure more consistent with other
drivers. This is similar to what commit
f27b853ea2 ("[media] rc: Fix invalid
free_region and/or free_irq on probe failure") did for some other
drivers.
In addition to making the cleanup more consistent, this also fixes a
case where (on a ene_hw_detect failure) free_region would be called on a
region that was not requested yet.
This last problem was probably introduced by the moving of code in
commit b31b021988 ("[media] ene_ir: Fix
driver initialisation") and commit
9ef449c6b3 ("[media] rc: Postpone ISR
registration").

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-10-28 16:28:58 -02:00
..
common [media] siano: get rid of warning: no previous prototype 2012-10-27 17:55:06 -02:00
dvb-core [media] dmxdev: fix a comparition of unsigned expression warning 2012-10-28 07:38:42 -02:00
dvb-frontends [media] dvb-frontends: get rid of some "always false" warnings 2012-10-28 07:38:44 -02:00
firewire [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
i2c [media] cx25840-core: get rid of warning: no previous prototype 2012-10-28 07:39:01 -02:00
mmc [media] siano: allow compiling it without RC support 2012-10-17 16:59:01 -03:00
parport [media] Add missing help for some menuconfig items 2012-08-21 08:17:37 -03:00
pci [media] bttv-driver: fix two warnings 2012-10-28 07:39:00 -02:00
platform [media] soc_camera: ret is never used. get rid of it 2012-10-28 07:39:03 -02:00
radio radio tea5764, si4713: get rid of warning: no previous prototype 2012-10-28 07:39:06 -02:00
rc [media] ene-ir: Fix cleanup on probe failure 2012-10-28 16:28:58 -02:00
tuners [media] tua9001: fix a warning 2012-10-28 07:38:54 -02:00
usb [media] au0828-dvb: ret is never tested. Get rid of it 2012-10-28 07:39:02 -02:00
v4l2-core [media] v4l2-common: h_bp var is unused at v4l2_detect_gtf() 2012-10-28 07:38:53 -02:00
Kconfig [media] Kconfig: Fix dependencies for driver autoselect options 2012-10-17 16:45:56 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: fix MEDIA_IOC_DEVICE_INFO return code 2012-08-12 07:57:57 -03:00
media-devnode.c [media] media-devnode: Replace printk with pr_* 2012-09-27 14:19:23 -03:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00