summaryrefslogtreecommitdiffstats
path: root/kernel/dma.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-02-06 16:28:14 +0100
committerJohan Hovold <johan@kernel.org>2017-02-06 18:29:17 +0100
commit16620b483eaf7750413bae472f4363b6b959fcaa (patch)
tree5cb6ba8dcd84f040baea6684f869b0eaadc94cba /kernel/dma.c
parenta6bb1e17a39818b01b55d8e6238b4b5f06d55038 (diff)
downloadlinux-stable-16620b483eaf7750413bae472f4363b6b959fcaa.tar.gz
linux-stable-16620b483eaf7750413bae472f4363b6b959fcaa.tar.bz2
linux-stable-16620b483eaf7750413bae472f4363b6b959fcaa.zip
USB: serial: sierra: fix bogus alternate-setting assumption
Interface numbers do not change when enabling alternate settings as comment and code in this driver suggested. Remove the confusing comment and redundant retrieval of the interface number in probe, while simplifying and renaming the interface-number helper. Fixes: 4db2299da213 ("sierra: driver interface blacklisting") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions