From: Luca Ceresoli Date: Fri, 24 Aug 2018 16:35:23 +0000 (-0400) Subject: media: imx274: fix error in function docs X-Git-Tag: v5.15~7696^2~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1657c28d82e8f89f0cb7d327f31515071bd0577a;p=platform%2Fkernel%2Flinux-starfive.git media: imx274: fix error in function docs This parameter holds the number of bytes, not bits. Signed-off-by: Luca Ceresoli Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/imx274.c b/drivers/media/i2c/imx274.c index 6572d57..07bc41f 100644 --- a/drivers/media/i2c/imx274.c +++ b/drivers/media/i2c/imx274.c @@ -668,7 +668,7 @@ static inline int imx274_write_reg(struct stimx274 *priv, u16 addr, u8 val) * @addr: Address of the LSB register. Other registers must be * consecutive, least-to-most significant. * @val: Value to be written to the register (cpu endianness) - * @nbytes: Number of bits to write (range: [1..3]) + * @nbytes: Number of bytes to write (range: [1..3]) */ static int imx274_write_mbreg(struct stimx274 *priv, u16 addr, u32 val, size_t nbytes)