aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2019-04-18 11:37:47 +0200
committerThierry Reding <[email protected]>2019-06-25 14:51:43 +0200
commitb2c200e3f2fd1158f5f1c93ccb2e0a27d96c4a7a (patch)
tree37e6878972f4272b199d689de29d44d54267c9db /drivers/usb/cdns3/cdns3-debug.h
parentcce4a833fc6dfdb43a492876ad06f506a61f8fbd (diff)
pwm: Add consumer device link
Add a device link between the PWM consumer and the PWM provider. This enforces the PWM user to get suspended before the PWM provider. It allows proper synchronization of suspend/resume sequences: the PWM user is responsible for properly stopping PWM, before the provider gets suspended: see [1]. Add the device link in: - of_pwm_get() - pwm_get() - devm_*pwm_get() variants as it requires a reference to the device for the PWM consumer. [1] https://lkml.org/lkml/2019/2/5/770 Suggested-by: Thierry Reding <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Fabrice Gasnier <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions