Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682159 > unrolled thread

Re: [PATCH] pwm: cros-ec: fix transposed param settings

Started byThierry Reding <thierry.reding@gmail.com>
First post2017-07-06 10:20 +0200
Last post2017-07-06 10:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] pwm: cros-ec: fix transposed param settings Thierry Reding <thierry.reding@gmail.com> - 2017-07-06 10:20 +0200

#1682159 — Re: [PATCH] pwm: cros-ec: fix transposed param settings

FromThierry Reding <thierry.reding@gmail.com>
Date2017-07-06 10:20 +0200
SubjectRe: [PATCH] pwm: cros-ec: fix transposed param settings
Message-ID<u0ab0-1M1-25@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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@chromium.org>
> Reviewed-by: Brian Norris <briannorris@chromium.org>
> ---
>  drivers/pwm/pwm-cros-ec.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Thierry

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web