aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ctrls-request.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2023-09-20 09:29:28 +0200
committerWolfram Sang <[email protected]>2023-09-22 11:39:42 +0200
commitd0d0f827e067b70c533cca98df772fc65729b522 (patch)
tree32dff2679eaf88edf53f2956007e452abf696ec3 /drivers/media/v4l2-core/v4l2-ctrls-request.c
parentcdb55bdb50eb1a458ad8f34550304296c39690f3 (diff)
i2c: i801: use i2c_mark_adapter_suspended/resumed
When entering the suspend callback, at first we should ensure that transfers are finished and I2C core can't start further transfers. Use i2c_mark_adapter_suspended() for this purpose, and complement it with a call to i2c_mark_adapter_resumed() in the resume path. 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