gpio: graniterapids: Add missing raw_spinlock_init()
Subsystems (2)
PATCH 1/1 gpio: graniterapids: Add missing raw_spinlock_init()
Add the missing raw_spin_lock_init() call to gnr_gpio_probe().
Fixes ecc4b1418e23 ("gpio: Add Intel Granite Rapids-D vGPIO driver")
Signed-off-by Aapo Vienamo <[email protected]>
--- drivers/gpio/gpio-graniterapids.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpio/gpio-graniterapids.c +2 -0
@@ -296,6 +296,8 @@ static int gnr_gpio_probe(struct platform_device *pdev)if (!priv)return -ENOMEM ; +raw_spin_lock_init (&priv->lock); + regs =devm_platform_ioremap_resource (pdev,0 );if (IS_ERR (regs))return PTR_ERR (regs);
Signature · 1 line
2.45.2
Quoted 4 lines · Aapo Vienamo
Add the missing
raw_spin_lock_init()call tognr_gpio_probe().Fixes ecc4b1418e23 ("gpio: Add Intel Granite Rapids-D vGPIO driver")Signed-off-by Aapo Vienamo <[email protected]>
Acked-by Mika Westerberg <[email protected]>
Linus/Bartosz, I wonder if you can take this one directly? Andy is currently on vacation and mine starts after this week so there is nobody handling these until August. Thanks!
Quoted 19 lines
--- drivers/gpio/gpio-graniterapids.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpio/gpio-graniterapids.c +2
-0@@ -296,6 +296,8 @@ static int gnr_gpio_probe(struct platform_device *pdev)if (!priv)return -ENOMEM ; +raw_spin_lock_init (&priv->lock); + regs =devm_platform_ioremap_resource (pdev,0 );if (IS_ERR (regs))return PTR_ERR (regs);Signature · 1 line
2.45.2
Bartosz Golaszewski
AppliedFrom: Bartosz Golaszewski <[email protected]>
Quoted 3 lines · Aapo Vienamo
Add the missing
raw_spin_lock_init()call tognr_gpio_probe().
Applied, thanks!
[1/1] gpio: graniterapids: Add missing raw_spinlock_init()
commit: 888119571b7c9518faeeeb2b431ffc4455e0028d
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>