usb: musb: fix runtime PM in debugfs
authorBin Liu <b-liu@ti.com>
Tue, 10 Jan 2017 16:46:00 +0000 (10:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 19:18:01 +0000 (20:18 +0100)
commitdfd48efcde844cd3710e05caf734484a974f32ea
treea0733a304ef1424288d6ada511940795d5f43eda
parent88d3670a1de4246cd40dfacdc21289b313caf5ed
usb: musb: fix runtime PM in debugfs

commit 7b6c1b4c0e1e44544aa18161dba6a741c080a7ef upstream.

MUSB driver now has runtime PM support, but the debugfs driver misses
the PM _get/_put() calls, which could cause MUSB register access
failure.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_debugfs.c