On Tue, Sep 29, 2020 at 12:41:16PM +0200, Johan Hovold wrote: > Drivers should not assume that interface descriptors have been parsed in > any particular order so match on interface number instead when rejecting > JTAG interfaces. > > Also use the interface struct device for notifications so that the > interface number is included. > > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>