Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a46de94 authored by Jeff Bernard's avatar Jeff Bernard Committed by Matt Wagantall
Browse files

msm: thermal: Pass correct size of voltage table to IOCTL



Fix issue in msm_thermal_process_voltage_table_request.
For voltage tables bigger than 16 it is not correclty
passing the partial table size to user space.
The full size is passed instead of the partial size.

For example if reading a table of 18 values the
first read returns 16, and the partial read returns 18
but it should return 2.

Signed-off-by: default avatarJeff Bernard <jbernard@codeaurora.org>
Change-Id: I75943e94341388cca772ee45bc1275fb5d2091d2
parent ab537965
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment