diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2018-08-24 18:35:23 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-17 21:12:34 +0200 |
commit | 1657c28d82e8f89f0cb7d327f31515071bd0577a (patch) | |
tree | ae9a9c363ecb854e60335a5b154b4c78a186d158 /drivers/media/i2c | |
parent | media: imx274: rename frmfmt and format to "mode" (diff) | |
download | linux-1657c28d82e8f89f0cb7d327f31515071bd0577a.tar.xz linux-1657c28d82e8f89f0cb7d327f31515071bd0577a.zip |
media: imx274: fix error in function docs
This parameter holds the number of bytes, not bits.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/imx274.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/imx274.c b/drivers/media/i2c/imx274.c index 6572d5728791..07bc41f537c5 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) |