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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
Laurent Pinchart
2022-10-16 09:15:09 +03:00
committed by Sakari Ailus
parent b817888a0c
commit 72e4bf6dd1

View File

@@ -97,7 +97,6 @@ static const struct imx290_pixfmt imx290_formats[] = {
static const struct regmap_config imx290_regmap_config = { static const struct regmap_config imx290_regmap_config = {
.reg_bits = 16, .reg_bits = 16,
.val_bits = 8, .val_bits = 8,
.cache_type = REGCACHE_RBTREE,
}; };
static const char * const imx290_test_pattern_menu[] = { static const char * const imx290_test_pattern_menu[] = {