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>
Tue, 10 Jan 2017 17:26:19 +0000 (18:26 +0100)
commit7b6c1b4c0e1e44544aa18161dba6a741c080a7ef
treeea082ad668ee3f664b991102b2dba8da7df316ee
parent620f1a632ebcc9811c2f8009ba52297c7006f805
usb: musb: fix runtime PM in debugfs

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

Cc: stable@vger.kernel.org # 4.9+
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