From: Chen-Yu Tsai Date: Mon, 20 Oct 2014 14:10:26 +0000 (+0800) Subject: clk: sunxi: make factors clock mux mask configurable X-Git-Tag: omap-for-v3.19/fixes-rc1~9^2~15^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94f8cb32d47b157b2af1906eb965290e89ee3fe;p=pandora-kernel.git clk: sunxi: make factors clock mux mask configurable Some of the factors-style clocks on the A80 have different widths for the mux values in the registers. Add a .muxmask field to clk_factors_config to make it configurable. Passing a bitmask instead of a width parameter will allow reuse in case we support table-based muxes in the future. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- Reading git-diff-tree failed