From: Dave Stevenson Date: Wed, 27 Dec 2023 19:51:45 +0000 (+0000) Subject: fixup downstream patch post driver conversion to CCI_REG X-Git-Tag: accepted/tizen/unified/20240422.153132~176 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffd1db4613e46f76fa209fa1c597c363a5088481;p=platform%2Fkernel%2Flinux-rpi.git fixup downstream patch post driver conversion to CCI_REG HTS was still using the raw register ID. Fixes: dd26d43ddb7f ("media: i2c: imx219: make HBLANK r/w to allow longer exposures") Signed-off-by: Dave Stevenson --- diff --git a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c index 43ca6ea..aeab1a8 100644 --- a/drivers/media/i2c/imx219.c +++ b/drivers/media/i2c/imx219.c @@ -88,7 +88,7 @@ /* HBLANK control range */ #define IMX219_PPL_MIN 3448 #define IMX219_PPL_MAX 0x7ff0 -#define IMX219_REG_HTS 0x0162 +#define IMX219_REG_HTS CCI_REG16(0x0162) #define IMX219_REG_LINE_LENGTH_A CCI_REG16(0x0162) #define IMX219_REG_X_ADD_STA_A CCI_REG16(0x0164)