hdmi drivers: bug on hdmi_unregister function
authorkfx <kfx@rock-chips.com>
Mon, 8 Aug 2011 09:38:23 +0000 (17:38 +0800)
committerkfx <kfx@rock-chips.com>
Mon, 8 Aug 2011 09:38:23 +0000 (17:38 +0800)
drivers/video/hdmi/hdmi-core.c

index 31d3930e5110fbfc7c68d0974306147e202fce80..441ca7a7d0d06a57ec74796ce26484b334fb900b 100755 (executable)
@@ -158,6 +158,7 @@ void hdmi_unregister(struct hdmi *hdmi)
        if(!hdmi)\r
                return;\r
        id = hdmi->id;\r
+       del_timer(&hdmi->timer);\r
        flush_scheduled_work();\r
        hdmi_remove_attrs(hdmi);\r
        device_unregister(hdmi->dev);\r