| .. | .. |
|---|
| 676 | 676 | |
|---|
| 677 | 677 | /* Mask out the Y tilt value used for pressure */ |
|---|
| 678 | 678 | device->buffer[7] = (u8)((device->buffer[7]) & 0x7F); |
|---|
| 679 | + fallthrough; |
|---|
| 679 | 680 | |
|---|
| 680 | | - /* Fall thru */ |
|---|
| 681 | 681 | case 4: |
|---|
| 682 | 682 | /* Tilt */ |
|---|
| 683 | 683 | input_report_abs(inputdev, ABS_TILT_X, |
|---|
| .. | .. |
|---|
| 685 | 685 | |
|---|
| 686 | 686 | input_report_abs(inputdev, ABS_TILT_Y, |
|---|
| 687 | 687 | sign_extend32(device->buffer[7], 6)); |
|---|
| 688 | + fallthrough; |
|---|
| 688 | 689 | |
|---|
| 689 | | - /* Fall thru */ |
|---|
| 690 | 690 | case 2: |
|---|
| 691 | 691 | case 3: |
|---|
| 692 | 692 | /* Convert buttons, only 5 bits possible */ |
|---|
| .. | .. |
|---|
| 695 | 695 | /* We don't apply any meaning to the bitmask, |
|---|
| 696 | 696 | just report */ |
|---|
| 697 | 697 | input_event(inputdev, EV_MSC, MSC_SERIAL, val); |
|---|
| 698 | + fallthrough; |
|---|
| 698 | 699 | |
|---|
| 699 | | - /* Fall thru */ |
|---|
| 700 | 700 | case 1: |
|---|
| 701 | 701 | /* All reports have X and Y coords in the same place */ |
|---|
| 702 | 702 | val = get_unaligned_le16(&device->buffer[1]); |
|---|
| .. | .. |
|---|
| 892 | 892 | if (usb_endpoint_xfer_int(endpoint)) |
|---|
| 893 | 893 | dev_dbg(&usbinterface->dev, "endpoint: we have interrupt endpoint\n"); |
|---|
| 894 | 894 | |
|---|
| 895 | | - dev_dbg(&usbinterface->dev, "endpoint extra len:%d\n", usbinterface->altsetting[0].extralen); |
|---|
| 895 | + dev_dbg(&usbinterface->dev, "interface extra len:%d\n", |
|---|
| 896 | + usbinterface->cur_altsetting->extralen); |
|---|
| 896 | 897 | |
|---|
| 897 | 898 | /* |
|---|
| 898 | 899 | * Find the HID descriptor so we can find out the size of the |
|---|
| .. | .. |
|---|
| 969 | 970 | input_dev->dev.parent = &usbinterface->dev; |
|---|
| 970 | 971 | |
|---|
| 971 | 972 | /* Setup the URB, it will be posted later on open of input device */ |
|---|
| 972 | | - endpoint = &usbinterface->cur_altsetting->endpoint[0].desc; |
|---|
| 973 | | - |
|---|
| 974 | 973 | usb_fill_int_urb(gtco->urbinfo, |
|---|
| 975 | 974 | udev, |
|---|
| 976 | 975 | usb_rcvintpipe(udev, |
|---|