Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)