The following is a patch to avoid a kernel oops when running rmmod saa7134 on kernel 2.6.27.1. The change is as suggested by mchehab on irc.freenode.org Signed-off-by: Hussam Al-Tayeb <ht990332@xxxxxxxxx> --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -701,7 +701,7 @@ { struct rc_dev *rdev = input_get_drvdata(idev); - rdev->close(rdev); + if (rdev) rdev->close(rdev); } /* class for /sys/class/rc */ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html