Skip to content

Commit 7ca4c92

Browse files
pcercueibebarino
authored andcommitted
clk: ingenic: Fix doc of ingenic_cgu_div_info
The 'div' field does not represent a number of bits used to divide (understand: right-shift) the divider, but a number itself used to divide the divider. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Cc: <stable@vger.kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent bc5d922 commit 7ca4c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/ingenic/cgu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ struct ingenic_cgu_mux_info {
8080
* @reg: offset of the divider control register within the CGU
8181
* @shift: number of bits to left shift the divide value by (ie. the index of
8282
* the lowest bit of the divide value within its control register)
83-
* @div: number of bits to divide the divider value by (i.e. if the
83+
* @div: number to divide the divider value by (i.e. if the
8484
* effective divider value is the value written to the register
8585
* multiplied by some constant)
8686
* @bits: the size of the divide value in bits

0 commit comments

Comments
 (0)