Re: [PATCH v8 08/10] drivers: qcom: rpmh: allow requests to be sent asynchronously

From: Matthias Kaehlcke
Date: Wed May 09 2018 - 19:39:20 EST


On Wed, May 09, 2018 at 11:01:57AM -0600, Lina Iyer wrote:
> Platform drivers that want to send a request but do not want to block
> until the RPMH request completes have now a new API -
> rpmh_write_async().
>
> The API allocates memory and send the requests and returns the control
> back to the platform driver. The tx_done callback from the controller is
> handled in the context of the controller's thread and frees the
> allocated memory. This API allows RPMH requests from atomic contexts as
> well.
>
> Signed-off-by: Lina Iyer <ilina@xxxxxxxxxxxxxx>

Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>