mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "disp: msm: dp: return -ENODEV when USBPD module is not enabled"
This commit is contained in:
commit
d832e58ba2
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ void dp_usbpd_put(struct dp_hpd *pd);
|
|||
static inline struct dp_hpd *dp_usbpd_get(struct device *dev,
|
||||
struct dp_hpd_cb *cb)
|
||||
{
|
||||
return NULL;
|
||||
return ERR_PTR(-ENODEV);
|
||||
}
|
||||
|
||||
static inline void dp_usbpd_put(struct dp_hpd *pd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue