Hi
Op 16-10-2024 om 13:48 schreef Andy Shevchenko:
> The first patch avoids using a workaround for IO (which seems unneeded).
> The rest is a batch of cleanups. Cc'ed to Ferry in hope of testing on
> Intel Merrifield (the main platform that uses these APIs).
>
> Andy Shevchenko (3):
> platform/x86: intel_scu_ipc: Replace workaround by 32-bit IO
> platform/x86: intel_scu_ipc: Simplify code with cleanup helpers
> platform/x86: intel_scu_ipc: Save a copy of the entire struct
> intel_scu_ipc_data
>
> drivers/platform/x86/intel_scu_ipc.c | 142 ++++++++++++---------------
> 1 file changed, 61 insertions(+), 81 deletions(-)
>
Tested iio_info (mrfld_bcove_adc), host/gadget switch, power button.
Tested-by: Ferry Toth <fntoth@gmail.com> (Intel Edison-Arduino)