On Wednesday 03 September 2014 16:36:01 Mark Brown wrote:
On Wed, Sep 03, 2014 at 11:23:21AM -0400, Ashwin Chaugule wrote:
On 2 September 2014 19:03, Mark Brown broonie@kernel.org wrote:
As previously suggested just looking things up in the context of a device created to represent the PCC controller seems fine; clients know they're using PCC so can just call a PCC specific API which hides the mechanics from them (for example, using a global variable to store the device).
IIUC, this means, either modifying the existing mbox_controller_register() to know when a PCC mbox is being added, or have another PCC specific API for registering as a mailbox? Then, in
Why would you have to do that - can't the PCC specific API manage to hide this?
I think that's what Ashwin meant as the 'or' part of the sentence above.
Arnd