Commit 82012710 authored by Stephen Boyd's avatar Stephen Boyd Committed by Srinivas Kandagatla
Browse files

clk: mux: Split out register accessors for reuse



We want to reuse the logic in clk-mux.c for other clock drivers
that don't use readl as register accessors. Fortunately, there
really isn't much to the mux code besides the table indirection
and quirk flags if you assume any bit shifting and masking has
been done already. Pull that logic out into reusable functions
that operate on an optional table and some flags so that other
drivers can use the same logic.

Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 35cd4226
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment