[lkml]   [2018]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] pinctrl: mcp23s08: fix irq setup order
On Thu, Dec 28, 2017 at 4:19 PM, Dmitry Mastykin <> wrote:

> When using mcp23s08 module with gpio-keys, often (50% of boots)
> it fails to get irq numbers with message:
> "gpio-keys keys: Unable to get irq number for GPIO 0, error -6".
> Seems that irqs must be setup before devm_gpiochip_add_data().
> Signed-off-by: Dmitry Mastykin <>

Patch applied, albeit for devel.

Should it be tagged for stable or go into fixes?

Linus Walleij

 \ /
  Last update: 2018-01-02 10:10    [W:0.036 / U:1.708 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site