summaryrefslogtreecommitdiffstats
path: root/include/acpi/pcc.h
Commit message (Collapse)AuthorAgeFilesLines
* mailbox: PCC: Fix return value of pcc_mbox_request_channel()Hoan Tran2016-10-171-1/+1
| | | | | | | | | | 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>
* mailbox: pcc: Add PCC request and free channel declarationsHoan Tran2016-06-251-0/+29
Exports pcc_mbox_request_channel() and pcc_mbox_free_channel() declarations into a pcc.h header file. Looks-good-to: Prashanth Prakash <pprakash@codeaurora.org> Signed-off-by: Hoan Tran <hotran@apm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>