]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfec8464aa2d4abeaf432a7c60c25dd5f637cb727
treeea082ad668ee3f664b991102b2dba8da7df316ee
parent4dfded696e39109c28d7edf2ecc2cf8af6c06564
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