frv: macro whitespace fixes
[firefly-linux-kernel-4.4.55.git] / drivers / clk / clk-mux.c
index 4f96ff3ba728321563cbdc6b728f9a25c65d74c6..6e1ecf94bf58daa279cb47e42065da9a9db3c581 100644 (file)
@@ -77,7 +77,7 @@ static int clk_mux_set_parent(struct clk_hw *hw, u8 index)
 
        else {
                if (mux->flags & CLK_MUX_INDEX_BIT)
-                       index = (1 << ffs(index));
+                       index = 1 << index;
 
                if (mux->flags & CLK_MUX_INDEX_ONE)
                        index++;