media: ccs: Fix a (harmless) lockdep warning
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 9 Oct 2023 11:54:57 +0000 (14:54 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 12 Oct 2023 07:22:29 +0000 (09:22 +0200)
commit827804d6d7608cb797e689eabe6e200fa9fb58e6
treea31586fbfd96e01ca278f5233cf9f70173b6e63e
parent256b7767c97d94c8df46e1bf5bdb89a7f7dcac99
media: ccs: Fix a (harmless) lockdep warning

The v4l2_subdev_init_finalize() is a macro that creates an unique lockdep
key and name. As the CCS driver initialises all three of its sub-devices
using the same call site, this creates a lockdep warning. Address it.

Fixes: d8bca3ed1d70 ("media: ccs: Use sub-device active state")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/ccs/ccs-core.c