Re: [PATCH] platform/x86: acer-wmi: Mark expected switch fall-throughs

From: Andy Shevchenko
Date: Sat Jun 29 2019 - 09:13:36 EST


On Thu, May 9, 2019 at 4:48 AM Gustavo A. R. Silva
<gustavo@xxxxxxxxxxxxxx> wrote:

> Commit 5c742b45dd5fbbb6cf74d3378341704f4b23c5e8 mentions that "This was fixed
> in acer_acpi some time ago, but I forgot to port the patch over to acer-wmi
> when it was merged." Notice that this driver (acer-wmi) is based on the
> no-longer existing acer_acpi driver. But after googling for a while I could
> found the fix the original author talks about:
>
> https://repo.or.cz/acer_acpi.git/commitdiff/74c08a38875ffa9989c3100947650ac8a388c189
>
> So, the fix is indeed similar and contains the same fall-throughs from case
> ACER_AMW0_V2 to case ACER_WMID in both functions get_u32() and set_u32().

Pushed to my review and testing queue, thanks!

--
With Best Regards,
Andy Shevchenko