video: mmp: optimize some register setting code
authorGuoqing Li <ligq@marvell.com>
Fri, 13 Sep 2013 06:59:47 +0000 (14:59 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 20 Sep 2013 09:52:33 +0000 (12:52 +0300)
commit1f2e42c6c3cdf1b62772f27e1de6033691839cfb
tree53b3bca1e04b0653b62c4990bf2a40743fa803e2
parent7ebdc78af2e310129a8b6eaffd8fbe637e18bd50
video: mmp: optimize some register setting code

There are dumplicate code of the smooth setting based on different
path, optimized the routine and use readl_relaxed instead.

Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Signed-off-by: Jing Xiang <jxiang@marvell.com>
Signed-off-by: Guoqing Li <ligq@marvell.com>
Signed-off-by: Zhou Zhu <zzhu3@marvell.com>
Reviewed-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/mmp/hw/mmp_ctrl.c