diff options
author | Nick Vaccaro <[email protected]> | 2017-06-23 14:52:47 -0700 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2017-07-06 17:16:37 +0200 |
commit | e47866a177cf0baba1d714fa93cb762f25bd6cef (patch) | |
tree | 1b19d6bc7dd7632680c66e3a5a773117919cd8d8 /lib/netdev-notifier-error-inject.c | |
parent | fd7b2be8cbcf6cd6d9c9e843ffff36fb91388e51 (diff) |
pwm: cros-ec: Fix transposed param settings
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 <[email protected]>
Reviewed-by: Brian Norris <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions