aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/arp.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-07-28 17:12:39 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 14:35:44 -0700
commitf283925fe9ef4ee75dc43e4c2bfbbd6b8a70bd0a (patch)
tree4b57d4975bc625a73a13f5a6022a227ca5e249e7 /net/ipv4/arp.c
parent185c9bcfde628f1d71aefd34517252cce4c4a57a (diff)
downloadkernel_samsung_crespo-f283925fe9ef4ee75dc43e4c2bfbbd6b8a70bd0a.zip
kernel_samsung_crespo-f283925fe9ef4ee75dc43e4c2bfbbd6b8a70bd0a.tar.gz
kernel_samsung_crespo-f283925fe9ef4ee75dc43e4c2bfbbd6b8a70bd0a.tar.bz2
USB: usb-storage: implement autosuspend
This patch (as1400) adds runtime-PM support to usb-storage. It utilizes the SCSI layer's runtime-PM implementation, so its scope is limited. Currently the only effect is that disk-like devices (such as card readers or flash drives) will be autosuspended if they aren't mounted and their device files aren't open. This would apply, for example, to card readers that don't contain a memory card. Unfortunately this won't interact very well with the removable-media polling normally carried out by hal or DeviceKit. Maybe those programs can be changed to use a longer polling interval, or maybe the default autosuspend time for usb-storage should be set to something below 1 second. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: James Bottomley <James.Bottomley@suse.de> Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/ipv4/arp.c')
0 files changed, 0 insertions, 0 deletions