Re: [PATCH v3] platform/chrome: cros_ec_spi: Transfer messages at high priority

From: Brian Norris
Date: Thu Apr 11 2019 - 21:27:34 EST


On Wed, Apr 3, 2019 at 1:32 PM Douglas Anderson <dianders@xxxxxxxxxxxx> wrote:
> +static int cros_ec_xfer_high_pri(struct cros_ec_device *ec_dev,
> + struct cros_ec_command *ec_msg,
> + cros_ec_xfer_fn_t fn)
> +{
> + struct cros_ec_xfer_work_params params;
> +
> + INIT_WORK(&params.work, cros_ec_xfer_high_pri_work);

Sorry for the late review, but this should have been
INIT_WORK_ONSTACK(). Should it be a new patch, or is this in a
non-rebasing tree yet?

Otherwise, looks fine to me:

Reviewed-by: Brian Norris <briannorris@xxxxxxxxxxxx>