di: optimize di pre mif config
authorDezhi Kong <dezhi.kong@amlogic.com>
Wed, 1 Aug 2018 08:31:50 +0000 (16:31 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Mon, 6 Aug 2018 09:22:59 +0000 (02:22 -0700)
commiteb19549d8cf2c1c712523b6491161d9410420946
treefbce8bc7160578181167da1bb0ea5f69ef75ae6f
parent8362dfe1c580764ba8fc3b09a63c304369d614d4
di: optimize di pre mif config

PD#170980: di: optimize di pre mif config

1.add protect for di pre reset
2.add pre de done check when unreg
3.merge afbc hold line from alishan code
4.optimize pre mif enable sequence

Change-Id: I18851ad644aaee7c6c1d76c69f41a91f9599a36d
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/deinterlace/deinterlace_hw.c