]> 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)
commit6512468396876eb68bd5c030b8a0fa4e083330cd
treeea082ad668ee3f664b991102b2dba8da7df316ee
parent35dd3adfd1a125398213923916c05310d33f2cde
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