linux-hardened/drivers/soc/mediatek
Sean Wang 4a58732c7c soc: mediatek: reuse read[l,x]_poll_timeout helpers
Reuse the common helpers read[l,x]_poll_timeout provided by Linux core
instead of an open-coded handling. The name of the local variable
sram_pdn_ack in scpsys_power_on is renamed to pdn_ack in order to be
consistent with the one used in scpsys_power_off.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Weiyi Lu <weiyi.lu@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2018-04-18 17:04:35 +02:00
..
Kconfig soc: mediatek: place Kconfig for all SoC drivers under menu 2017-10-20 12:08:01 +02:00
Makefile soc: Mediatek: Add SCPSYS power domain driver 2015-07-06 18:36:32 +02:00
mtk-infracfg.c soc: mediatek: extend bus protection API 2017-12-21 11:49:22 +01:00
mtk-pmic-wrap.c soc: mediatek: use of_device_get_match_data() 2018-04-17 16:36:44 +02:00
mtk-scpsys.c soc: mediatek: reuse read[l,x]_poll_timeout helpers 2018-04-18 17:04:35 +02:00