Message ID | 1392987687-15367-12-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
On Fri, Feb 21, 2014 at 2:00 PM, Luis Henriques
<luis.henriques@canonical.com> wrote:
> 3.5.7.31 -stable review patch. If anyone has any objections, please let me know.
This was NACKed as stable patch by Greg so drop it if not too late.
Yours,
Linus Walleij
On Tue, Feb 25, 2014 at 10:24:00AM +0100, Linus Walleij wrote: > On Fri, Feb 21, 2014 at 2:00 PM, Luis Henriques > <luis.henriques@canonical.com> wrote: > > > 3.5.7.31 -stable review patch. If anyone has any objections, please let me know. > > This was NACKed as stable patch by Greg so drop it if not too late. > > Yours, > Linus Walleij I've already dropped this patch, from both the 3.5 and the 3.11 kernels. Thank you! Cheers, -- Luís
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 5e59c45..c172754 100644 --- a/drivers/pinctrl/core.c +++ b/drivers/pinctrl/core.c @@ -1327,8 +1327,10 @@ static void pinctrl_init_device_debugfs(struct pinctrl_dev *pctldev) device_root, pctldev, &pinctrl_groups_ops); debugfs_create_file("gpio-ranges", S_IFREG | S_IRUGO, device_root, pctldev, &pinctrl_gpioranges_ops); - pinmux_init_device_debugfs(device_root, pctldev); - pinconf_init_device_debugfs(device_root, pctldev); + if (pctldev->desc->pmxops) + pinmux_init_device_debugfs(device_root, pctldev); + if (pctldev->desc->confops) + pinconf_init_device_debugfs(device_root, pctldev); } static void pinctrl_remove_device_debugfs(struct pinctrl_dev *pctldev)