Commit 1657c28d authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Mauro Carvalho Chehab

media: imx274: fix error in function docs

This parameter holds the number of bytes, not bits.
Signed-off-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 9648cb57
...@@ -668,7 +668,7 @@ static inline int imx274_write_reg(struct stimx274 *priv, u16 addr, u8 val) ...@@ -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 * @addr: Address of the LSB register. Other registers must be
* consecutive, least-to-most significant. * consecutive, least-to-most significant.
* @val: Value to be written to the register (cpu endianness) * @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, static int imx274_write_mbreg(struct stimx274 *priv, u16 addr, u32 val,
size_t nbytes) size_t nbytes)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment