soc: mediatek: Refactor bus protection control
authorWeiyi Lu <weiyi.lu@mediatek.com>
Wed, 28 Aug 2019 09:11:40 +0000 (17:11 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 7 Nov 2019 09:11:04 +0000 (10:11 +0100)
commit662c9d55c5ccb37f3920ecab9720f2ebf2a6ca18
tree97fae5ae24857a5b444cedce2f01533cd367bbc4
parent0545aa1b7a1472a4d0499ccc7666634c8cf47305
soc: mediatek: Refactor bus protection control

Put bus protection enable and disable control in separate functions.

Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-scpsys.c