Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (3 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/drivers/usb/class/usbtmc.c

    r28516 r31885  
    11651165        }
    11661166
     1167        if (!data->bulk_out || !data->bulk_in) {
     1168                dev_err(&intf->dev, "bulk endpoints not found\n");
     1169                retcode = -ENODEV;
     1170                goto err_put;
     1171        }
     1172
    11671173        retcode = get_capabilities(data);
    11681174        if (retcode)
     
    11881194        sysfs_remove_group(&intf->dev.kobj, &capability_attr_grp);
    11891195        sysfs_remove_group(&intf->dev.kobj, &data_attr_grp);
     1196err_put:
    11901197        kref_put(&data->kref, usbtmc_delete);
    11911198        return retcode;
Note: See TracChangeset for help on using the changeset viewer.