aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ctrls-request.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2023-09-20 09:33:01 +0200
committerWolfram Sang <[email protected]>2023-09-22 11:41:58 +0200
commitf707d6b9e7c18f669adfdb443906d46cfbaaa0c1 (patch)
tree4e2178fa1fee8204dfb7a3d94d4f268df9fc0a20 /drivers/media/v4l2-core/v4l2-ctrls-request.c
parentd0d0f827e067b70c533cca98df772fc65729b522 (diff)
i2c: i801: replace acpi_lock with I2C bus lock
I2C core ensures in i2c_smbus_xfer() that the I2C bus lock is held when calling the smbus_xfer callback. That's i801_access() in our case. I think it's safe in general to assume that the I2C bus lock is held when the smbus_xfer callback is called. Therefore I see no need to define an own mutex. Signed-off-by: Heiner Kallweit <[email protected]> Reviewed-by: Jean Delvare <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-request.c')
0 files changed, 0 insertions, 0 deletions