[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170706081623.GN16144@ulmo.fritz.box>
Date: Thu, 6 Jul 2017 10:16:23 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Nick Vaccaro <nvaccaro@...gle.com>
Cc: linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pwm: cros-ec: fix transposed param settings
On Fri, Jun 23, 2017 at 02:52:47PM -0700, Nick Vaccaro wrote:
> The __cros_ec_pwm_get_duty() routine was transposing the insize and
> outsize fields when calling cros_ec_cmd_xfer_status().
>
> The original code worked without error due to size of the two particular
> parameter blocks passed to cros_ec_cmd_xfer_status(), so this change is
> not fixing an actual runtime problem, just correcting the calling usage.
>
> Signed-off-by: Nick Vaccaro <nvaccaro@...omium.org>
> Reviewed-by: Brian Norris <briannorris@...omium.org>
> ---
> drivers/pwm/pwm-cros-ec.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists