From: kfx Date: Mon, 8 Aug 2011 09:38:23 +0000 (+0800) Subject: hdmi drivers: bug on hdmi_unregister function X-Git-Tag: firefly_0821_release~9775^2~3^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fdf3bf12b3776b00bac2cff62c78e2f00a9617d3;p=firefly-linux-kernel-4.4.55.git hdmi drivers: bug on hdmi_unregister function --- diff --git a/drivers/video/hdmi/hdmi-core.c b/drivers/video/hdmi/hdmi-core.c index 31d3930e5110..441ca7a7d0d0 100755 --- a/drivers/video/hdmi/hdmi-core.c +++ b/drivers/video/hdmi/hdmi-core.c @@ -158,6 +158,7 @@ void hdmi_unregister(struct hdmi *hdmi) if(!hdmi) return; id = hdmi->id; + del_timer(&hdmi->timer); flush_scheduled_work(); hdmi_remove_attrs(hdmi); device_unregister(hdmi->dev);