summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2016-03-03 22:20:53 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-07 14:37:39 -0500
commit48906f62c96cc2cd35753e59310cb70eb08cc6a5 (patch)
tree1ca9a13fe0f189a30d7e8b2dc04f01764ef8702f /drivers/net/ethernet
parent1666984c8625b3db19a9abc298931d35ab7bc64b (diff)
downloadlinux-48906f62c96cc2cd35753e59310cb70eb08cc6a5.tar.bz2
cdc_ncm: toggle altsetting to force reset before setup
Some devices will silently fail setup unless they are reset first. This is necessary even if the data interface is already in altsetting 0, which it will be when the device is probed for the first time. Briefly toggling the altsetting forces a function reset regardless of the initial state. This fixes a setup problem observed on a number of Huawei devices, appearing to operate in NTB-32 mode even if we explicitly set them to NTB-16 mode. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions