aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ds3234.c
diff options
context:
space:
mode:
authorJonathan McDowell <noodles@earth.li>2009-03-26 00:45:27 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-17 10:50:23 -0700
commit237e75bf1e558f7330f8deb167fa3116405bef2c (patch)
tree2757c37e072468cebf5dbf86ab32e7b0ac603f02 /drivers/rtc/rtc-ds3234.c
parent9f76208c33984ab777eace5d07a4e36e88703e02 (diff)
usb gadget: fix ethernet link reports to ethtool
The g_ether USB gadget driver currently decides whether or not there's a link to report back for eth_get_link based on if the USB link speed is set. The USB gadget speed is however often set even before the device is enumerated. It seems more sensible to only report a "link" if we're actually connected to a host that wants to talk to us. The patch below does this for me - tested with the PXA27x UDC driver. Signed-off-by: Jonathan McDowell <noodles@earth.li> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/rtc/rtc-ds3234.c')
0 files changed, 0 insertions, 0 deletions