diff options
author | Hoan Tran <hotran@apm.com> | 2016-10-15 01:20:21 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-10-17 14:26:49 +0200 |
commit | d0679cfaf54c9e42e3ba4f8d5e67969932040d16 (patch) | |
tree | c8d54a14533d9542874726d2716a359cbfd2ee96 /include/net/bluetooth/bluetooth.h | |
parent | ACPI / CPPC: Support PCC with interrupt flag (diff) | |
download | linux-d0679cfaf54c9e42e3ba4f8d5e67969932040d16.tar.xz linux-d0679cfaf54c9e42e3ba4f8d5e67969932040d16.zip |
mailbox: PCC: Fix return value of pcc_mbox_request_channel()
When CONFIG_PCC is disabled, pcc_mbox_request_channel() needs to
return ERR_PTR(-ENODEV), not a NULL pointer, as the callers of
this function use IS_ERR() to check for error code.
Signed-off-by: Duc Dang <dhdang@apm.com>
Signed-off-by: Hoan Tran <hotran@apm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
0 files changed, 0 insertions, 0 deletions