rockchip/vcodec: add shutdown ops
authorAlpha Lin <alpha.lin@rock-chips.com>
Wed, 15 Jun 2016 09:33:43 +0000 (17:33 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 16 Jun 2016 02:26:15 +0000 (10:26 +0800)
commitd15bc1b075888d1c8cffbf28317d0fdef5a15ec9
treec342c28eed853e65a5325c0c05339c203c71499b
parent8f17489c88f6d028664b4e9108af21f2381ad247
rockchip/vcodec: add shutdown ops

Add a shutdown opertion to prevent a system halt when
reboot executing.

Before this revision, driver will try to trigger hw after
power domain disable during reboot procedure, and cause a
system halt.

Change-Id: I57236c20cb96946a18d78396955f6fd59ee93a59
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
drivers/video/rockchip/vcodec/vcodec_service.c