From: Rafael J. Wysocki Date: Mon, 1 Apr 2013 23:25:09 +0000 (+0200) Subject: USB / PM: Don't try to hide PM QoS flags from usb_port_device_release() X-Git-Tag: v3.9-rc6~17^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da259465d7526804b21d274281fb4d60b4216c82;p=pandora-kernel.git USB / PM: Don't try to hide PM QoS flags from usb_port_device_release() Remove the call to dev_pm_qos_hide_flags(), added by commit 6e30d7cb "usb: Add driver/usb/core/(port.c,hub.h) files", from usb_port_device_release(), because (1) it is completely unnecessary (the flags have been removed already by the PM core during the unregistration of the device object) and (2) it triggers a NULL pointer dereference in sysfs_find_dirent() (dev->kobj.sd is NULL at this point). Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman --- Reading git-diff-tree failed