Re: [RFC v0 4/8] Input: goodix: use firmware_stat instead of completion

From: Bastien Nocera
Date: Thu Jul 28 2016 - 07:23:02 EST


On Thu, 2016-07-28 at 09:55 +0200, Daniel Wagner wrote:
> From: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx>
>
> Loading firmware is an operation many drivers implement in various
> ways
> around the completion API. And most of them do it almost in the same
> way. Let's reuse the firmware_stat API which is used also by the
> firmware_class loader. Apart of streamlining the firmware loading
> states
> we also document it slightly better.
>
> Signed-off-by: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx>

Irina added and tested that feature, so best for her to comment on
this, as I don't have any hardware that would use this feature.

Cheers