drm/rockchip: cdn-dp: Move mutex_init to probe
authorJeffy Chen <jeffy.chen@rock-chips.com>
Sun, 5 Feb 2017 07:55:00 +0000 (15:55 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Sun, 5 Feb 2017 08:29:58 +0000 (16:29 +0800)
commitbe0270e4d14656d36e76c098ebe822ca2fc34044
tree9f3464a51682b9176784df29440cbb828e9869b3
parent81632df69772efaacc6218281f58d5ed19d5c97e
drm/rockchip: cdn-dp: Move mutex_init to probe

We're trying to lock mutex when cdn-dp shutdown, so we need to make
sure the mutex is inited in cdn-dp's probe.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
drivers/gpu/drm/rockchip/cdn-dp-core.c