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

Commit 1519f843 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

hwmon: epm_adc: Remove redundant support



Remove support for ADS ADC that is not used since
the EPM uses the PSoC for getting power measurements.
Update the generic command to use 64 bytes intead of
65 bytes. The generic command is used by the userspace
client to send commands to communicate with the PSoC
and returns the collected buffered samples for requested
power measurements.

Change-Id: I0f2eddd7421888adfeb1c7152e82c96128b7f299
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 03c73db6
Loading
Loading
Loading
Loading
+124 −2175

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ struct epm_get_high_res_avg_data {
};

struct epm_generic_request {
	uint8_t		buf_data[65];
	uint8_t		buf[64];
};