Skip to contentSkip to conversation

isdn: mISDN: Fix typo 'intervall' to 'interval' in hfcsusb.c

PATCH In review Suraj Patil 2 participants 2 messages Mar 11, 2025 – Mar 17, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 isdn: mISDN: Fix typo 'intervall' to 'interval' in hfcsusb.c

---
 drivers/isdn/hardware/mISDN/hfcsusb.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
drivers/isdn/hardware/mISDN/hfcsusb.c +8 -8
index e54419a4e731..ebe57c190476 100644
@@ -1063,7 +1063,7 @@ rx_iso_complete(struct urb *urb)
 
 		fill_isoc_urb(urb, fifo->hw->dev, fifo->pipe,
 			      context_iso_urb->buffer, num_isoc_packets,
-			      fifo->usb_packet_maxlen, fifo->intervall,
+			      fifo->usb_packet_maxlen, fifo->interval,
 			      (usb_complete_t)rx_iso_complete, urb->context);
 		errcode = usb_submit_urb(urb, GFP_ATOMIC);
 		if (errcode < 0) {
@@ -1225,7 +1225,7 @@ tx_iso_complete(struct urb *urb)
 			sink = (threshbit) ? SINK_MIN : SINK_MAX;
 		fill_isoc_urb(urb, fifo->hw->dev, fifo->pipe,
 			      context_iso_urb->buffer, num_isoc_packets,
-			      fifo->usb_packet_maxlen, fifo->intervall,
+			      fifo->usb_packet_maxlen, fifo->interval,
 			      (usb_complete_t)tx_iso_complete, urb->context);
 		memset(context_iso_urb->buffer, 0,
 		       sizeof(context_iso_urb->buffer));
@@ -1355,7 +1355,7 @@ tx_iso_complete(struct urb *urb)
 		/*
 		 * abuse DChannel tx iso completion to trigger NT mode state
 		 * changes tx_iso_complete is assumed to be called every
-		 * fifo->intervall (ms)
+		 * fifo->interval (ms)
 		 */
 		if ((fifon == HFCUSB_D_TX) && (hw->protocol == ISDN_P_NT_S0)
 		    && (hw->timers & NT_ACTIVATION_TIMER)) {
@@ -1411,7 +1411,7 @@ start_isoc_chain(struct usb_fifo *fifo, int num_packets_per_urb,
 					      fifo->iso[i].buffer,
 					      num_packets_per_urb,
 					      fifo->usb_packet_maxlen,
-					      fifo->intervall, complete,
+					      fifo->interval, complete,
 					      &fifo->iso[i]);
 				memset(fifo->iso[i].buffer, 0,
 				       sizeof(fifo->iso[i].buffer));
@@ -1510,7 +1510,7 @@ start_int_fifo(struct usb_fifo *fifo)
 	}
 	usb_fill_int_urb(fifo->urb, fifo->hw->dev, fifo->pipe,
 			 fifo->buffer, fifo->usb_packet_maxlen,
-			 (usb_complete_t)rx_int_complete, fifo, fifo->intervall);
+			 (usb_complete_t)rx_int_complete, fifo, fifo->interval);
 	fifo->active = 1;
 	fifo->stop_gracefull = 0;
 	errcode = usb_submit_urb(fifo->urb, GFP_KERNEL);
@@ -1596,7 +1596,7 @@ reset_hfcsusb(struct hfcsusb *hw)
 	handle_led(hw, LED_POWER_ON);
 }
 
-/* start USB data pipes dependand on device's endpoint configuration */
+/* start USB data pipes dependent on device's endpoint configuration */
 static void
 hfcsusb_start_endpoint(struct hfcsusb *hw, int channel)
 {
@@ -1664,7 +1664,7 @@ hfcsusb_start_endpoint(struct hfcsusb *hw, int channel)
 	}
 }
 
-/* stop USB data pipes dependand on device's endpoint configuration */
+/* stop USB data pipes dependent on device's endpoint configuration */
 static void
 hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel)
 {
@@ -2077,7 +2077,7 @@ hfcsusb_probe(struct usb_interface *intf, const struct usb_device_id *id)
 			f->hw = hw;
 			f->usb_packet_maxlen =
 				le16_to_cpu(ep->desc.wMaxPacketSize);
-			f->intervall = ep->desc.bInterval;
+			f->interval = ep->desc.bInterval;
 		}
 		ep++;
 	}
Signature · 1 line
2.43.0
reviewer
#1 lore raw
Quoted 10 lines · Suraj Patil
---
 drivers/isdn/hardware/mISDN/hfcsusb.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
drivers/isdn/hardware/mISDN/hfcsusb.c +0 -0
index e54419a4e731..ebe57c190476 100644

drivers/isdn/hardware/mISDN/hfcsusb.c rx_iso_complete(struct urb *urb) · line 1066

Quoted 5 lines
drivers/isdn/hardware/mISDN/hfcsusb.c +1 -1
@@ -1063,7 +1063,7 @@ rx_iso_complete(struct urb *urb)
 
 		fill_isoc_urb(urb, fifo->hw->dev, fifo->pipe,
 			      context_iso_urb->buffer, num_isoc_packets,
-			      fifo->usb_packet_maxlen, fifo->intervall,
+			      fifo->usb_packet_maxlen, fifo->interval,

Perhaps it is addressed in patch 1/2 (which i am unable to locate), in which case the relevant change should be folded into this patch to avoid breaking bisection. But as this stands, with this patch (only) applied builds fail because there is no member called interval in struct usb_fifo.

Signature · 1 line
pw-bot: not-applicable