Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Hoan Tran <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
- Loading branch information