video: rockchip: vpu: introduce safe reset method
authorRandy Li <randy.li@rock-chips.com>
Fri, 21 Apr 2017 09:39:05 +0000 (17:39 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 6 Jun 2017 09:44:31 +0000 (17:44 +0800)
commit027e3c027cb6b85055880755f50d234007be8554
tree6c84c159ba514c29133aa72b90e1585134727ca5
parentc1ac5c0b586dc66efb6f82d55825cccb992775e5
video: rockchip: vpu: introduce safe reset method

Even the same type video IP would request a different numbers
of reset control.

From the RK3328 times, the video IP also request decrease the
frequency of the clock to lower than 300 MHZ before resetting.
It seems no hard to apply it into the previous platform.

Change-Id: Iacf1accf24c8776bb8b425b613e6e34215380203
Signed-off-by: Randy Li <randy.li@rock-chips.com>
drivers/video/rockchip/vcodec/vcodec_service.c