rk30 hdmi:
authorZheng Yang <zhengyang@rock-chips.com>
Wed, 25 Apr 2012 10:20:43 +0000 (18:20 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Wed, 25 Apr 2012 10:20:43 +0000 (18:20 +0800)
commitc66cf4b6622e577535ffc0392fa51a59e7fe2af7
treec4b67cd6b01c970258a02191ecec7d9b03e87f27
parentfcff15d5fc53661f3687bfd1b25b8497c9533bac
rk30 hdmi:
1. When hdmi was disabled in early_suspend, sometimes it will be enabld agian by user control.
   So the hdmi irq will be enabled twice in early_resume, this action will caurse kernel crash.
   To fix this bug, we need to distinguish suspend mode and user control mode, and add mutex to
   protect enable/disable hdmi irq.
2. Use spin_lock_irqsave/spin_unlock_irqrestore replace spin_lock/spin_unlock.
drivers/video/rockchip/hdmi/rk30_hdmi.c
drivers/video/rockchip/hdmi/rk30_hdmi.h
drivers/video/rockchip/hdmi/rk30_hdmi_hw.c
drivers/video/rockchip/hdmi/rk30_hdmi_sysfs.c
drivers/video/rockchip/hdmi/rk30_hdmi_task.c