table of contents
other versions
CLK_HAS_PARENT(9) | Clock Framework | CLK_HAS_PARENT(9) |
NAME¶
clk_has_parent - check if a clock is a possible parent for another
SYNOPSIS¶
bool clk_has_parent(struct clk * clk, struct clk * parent);
ARGUMENTS¶
struct clk * clk
clock source
struct clk * parent
parent clock source
DESCRIPTION¶
This function can be used in drivers that need to check that a clock can be the parent of another without actually changing the parent.
Returns true if parent is a possible parent for clk, false otherwise.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |