drm: bridge: dw-hdmi: add debugfs_remove_recursive when unbind
authorxuhuicong <xhc@rock-chips.com>
Sat, 24 Jun 2017 10:10:00 +0000 (18:10 +0800)
committerxuhuicong <xhc@rock-chips.com>
Sat, 24 Jun 2017 10:23:37 +0000 (18:23 +0800)
commit185e3ecd1fc60198a7d5a308b357c9cf24bf695c
tree4781156c1a96d254f2a55f49124e92c27bfedf72
parentdd19ce4b833e1725d6dcb3986af31099a1ba7beb
drm: bridge: dw-hdmi: add debugfs_remove_recursive when unbind

On RK3328, dw-hdmi driver is reloaded after bind and unbind
then it will use the first register debugfs address if no run
debugfs_remove_recursive, and cause system crash.

Change-Id: Iafa6b4059962b62c79157a9cf6c3e1d56df48f03
Signed-off-by: xuhuicong <xhc@rock-chips.com>
drivers/gpu/drm/bridge/dw-hdmi.c