Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: fix mux clock documentation

The mux documentation mentions the non-existing parameter width instead
of mask, so just sed this.

The table field is missing in the documentation of clk_mux.
Add a small blurb explaining what it is

Fixes: 9d9f78ed9af0 ("clk: basic clock hardware types")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Jerome Brunet and committed by
Stephen Boyd
fe3f338f 541debae

+2 -1
+2 -1
include/linux/clk-provider.h
··· 450 450 * 451 451 * @hw: handle between common and hardware-specific interfaces 452 452 * @reg: register controlling multiplexer 453 + * @table: array of register values corresponding to the parent index 453 454 * @shift: shift to multiplexer bit field 454 - * @width: width of mutliplexer bit field 455 + * @mask: mask of mutliplexer bit field 455 456 * @flags: hardware-specific flags 456 457 * @lock: register lock 457 458 *