Re: [PATCH] USB: serial: sierra: fix bogus alternate-setting assumption

2017-02-06 Thread Johan Hovold
On Mon, Feb 06, 2017 at 05:33:29PM +0100, Greg Kroah-Hartman wrote: > On Mon, Feb 06, 2017 at 04:28:14PM +0100, Johan Hovold wrote: > > Interface numbers do not change when enabling alternate settings as > > comment and code in this driver suggested. > > > > Remove the confusing comment and

Re: [PATCH] USB: serial: sierra: fix bogus alternate-setting assumption

2017-02-06 Thread Greg KH
On Mon, Feb 06, 2017 at 04:28:14PM +0100, Johan Hovold wrote: > 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

[PATCH] USB: serial: sierra: fix bogus alternate-setting assumption

2017-02-06 Thread Johan Hovold
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