|
@@ -1826,9 +1826,9 @@ net2272_handle_stat0_irqs(struct net2272 *dev, u8 stat)
|
|
if (!e || u.r.wLength > 2)
|
|
if (!e || u.r.wLength > 2)
|
|
goto do_stall;
|
|
goto do_stall;
|
|
if (net2272_ep_read(e, EP_RSPSET) & (1 << ENDPOINT_HALT))
|
|
if (net2272_ep_read(e, EP_RSPSET) & (1 << ENDPOINT_HALT))
|
|
- status = __constant_cpu_to_le16(1);
|
|
|
|
|
|
+ status = cpu_to_le16(1);
|
|
else
|
|
else
|
|
- status = __constant_cpu_to_le16(0);
|
|
|
|
|
|
+ status = cpu_to_le16(0);
|
|
|
|
|
|
/* don't bother with a request object! */
|
|
/* don't bother with a request object! */
|
|
net2272_ep_write(&dev->ep[0], EP_IRQENB, 0);
|
|
net2272_ep_write(&dev->ep[0], EP_IRQENB, 0);
|