[PATCH 1/2] pinctrl: bcm2835: Fix permissions of persist_gpio_outputs

Florian Fainelli florian.fainelli at broadcom.com
Tue Jun 4 00:57:30 PDT 2024



On 6/3/2024 8:19 PM, Stefan Wahren wrote:
> The commit 8ff05989b44e ("pinctrl: bcm2835: Make pin freeing behavior
> configurable") unintentionally made the module parameter
> persist_gpio_outputs changeable at runtime. So drop the write permission
> in order to make the freeing behavior predictable for user applications.
> 
> Fixes: 8ff05989b44e ("pinctrl: bcm2835: Make pin freeing behavior configurable")
> Reported-by: Andy Shevchenko <andy.shevchenko at gmail.com>
> Closes: https://lore.kernel.org/linux-gpio/Zjk-C0nLmlynqLAE@surfacebook.localdomain/
> Signed-off-by: Stefan Wahren <wahrenst at gmx.net>

Acked-by: Florian Fainelli <florian.fainelli at broadcom.com>
-- 
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240604/0b6c05cb/attachment-0001.p7s>


More information about the linux-arm-kernel mailing list