clk: mediatek: fix clk-gate flag setting
authorWeiyi Lu <weiyi.lu@mediatek.com>
Fri, 12 Apr 2019 03:30:27 +0000 (11:30 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 12 Apr 2019 16:41:49 +0000 (09:41 -0700)
commitb3cf181c65c4d49f86b67b399fe7203ecac730a9
tree3bb5b4d2afaad2686353e38e2b6a7157db0d3e52
parentb995dcca7cf12f208cfd95fd9d5768dca7cccec7
clk: mediatek: fix clk-gate flag setting

CLK_SET_RATE_PARENT would be dropped.
Merge two flag setting together to correct the error.

Fixes: 5a1cc4c27ad2 ("clk: mediatek: Add flags to mtk_gate")
Cc: <stable@vger.kernel.org>
Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-gate.c