[PATCH] gpio: zynq: Fix problem with unbalanced pm_runtime_enable

Linus Walleij linus.walleij at linaro.org
Thu Jul 16 04:01:24 PDT 2015


On Thu, Jun 25, 2015 at 10:29 AM, Michal Simek <michal.simek at xilinx.com> wrote:

> Add missing pm_runtime_disabled to remove().
>
> Error log:
> root at zynqmp:~# modprobe gpio_zynq
> root at zynqmp:~# lsmod
>     Not tainted
> gpio_zynq 7086 0 - Live 0xffffffbffc00a000
> root at zynqmp:~# rmmod gpio_zynq
> root at zynqmp:~# lsmod
>     Not tainted
> root at zynqmp:~# modprobe gpio_zynq
> [  246.924438] zynq-gpio ff0a0000.gpio: Unbalanced pm_runtime_enable!
> root at zynqmp:~# rmmod gpio_zynq
> root at zynqmp:~# lsmod
>     Not tainted
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>

Patch applied with Alex' ACK.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list