mtd: mtk-nor: add suspend/resume support
authorGuochun Mao <guochun.mao@mediatek.com>
Thu, 21 Sep 2017 12:45:06 +0000 (20:45 +0800)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 24 Oct 2017 21:58:55 +0000 (23:58 +0200)
commit2ea68b75411b137f5782afa1052a5f1d99ef66f1
tree5b1fd9ec92de84b534e3d3c71b2eb61369bb1533
parent3c535c94a0ba94e9852de3aae7b6c62413eb2af7
mtd: mtk-nor: add suspend/resume support

Abstract functions of clock setting, to avoid duplicated code,
these functions been used in new feature.
Implement suspend/resume functions.

Signed-off-by: Guochun Mao <guochun.mao@mediatek.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/mtk-quadspi.c