From: Laurent Pinchart Date: Sun, 16 Oct 2022 06:15:09 +0000 (+0300) Subject: media: i2c: imx290: Drop regmap cache X-Git-Tag: v6.2-rc1~125^2~251^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72e4bf6dd1368943c5fdbc339a62e5020cf2514b;p=thirdparty%2Fkernel%2Flinux.git media: i2c: imx290: Drop regmap cache Only two registers are ever read, and once only. There's no need to cache values. Signed-off-by: Laurent Pinchart Reviewed-by: Alexander Stein Signed-off-by: Sakari Ailus --- diff --git a/drivers/media/i2c/imx290.c b/drivers/media/i2c/imx290.c index 1219a06fec5f3..30e4ab508a745 100644 --- a/drivers/media/i2c/imx290.c +++ b/drivers/media/i2c/imx290.c @@ -97,7 +97,6 @@ static const struct imx290_pixfmt imx290_formats[] = { static const struct regmap_config imx290_regmap_config = { .reg_bits = 16, .val_bits = 8, - .cache_type = REGCACHE_RBTREE, }; static const char * const imx290_test_pattern_menu[] = {