media: i2c: mt9v032: convert to use maple tree register cache
authorBo Liu <liubo03@inspur.com>
Wed, 17 Jan 2024 03:11:05 +0000 (04:11 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 1 Feb 2024 12:39:14 +0000 (13:39 +0100)
commita45e0e762459bf4212c094c085806c5a43988019
tree848f725e71a9b089ddf7ab93c3685ea029409ca0
parent7591701bdc964b601ccf35797e57f2788a3ce1eb
media: i2c: mt9v032: convert to use maple tree register cache

The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.

Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/mt9v032.c