|
@@ -604,7 +604,8 @@ int submit_bulk_msg(struct usb_device *dev, unsigned long pipe,
|
|
(len-txlen) : dev->epmaxpacketin[ep];
|
|
(len-txlen) : dev->epmaxpacketin[ep];
|
|
|
|
|
|
/* Set the ReqPkt bit */
|
|
/* Set the ReqPkt bit */
|
|
- writew(MUSB_RXCSR_H_REQPKT, &musbr->rxcsr);
|
|
|
|
|
|
+ csr = readw(&musbr->rxcsr);
|
|
|
|
+ writew(csr | MUSB_RXCSR_H_REQPKT, &musbr->rxcsr);
|
|
|
|
|
|
/* Wait until the RxPktRdy bit is set */
|
|
/* Wait until the RxPktRdy bit is set */
|
|
if (!wait_until_rxep_ready(dev, MUSB_BULK_EP)) {
|
|
if (!wait_until_rxep_ready(dev, MUSB_BULK_EP)) {
|
|
@@ -775,7 +776,8 @@ int submit_int_msg(struct usb_device *dev, unsigned long pipe,
|
|
(len-txlen) : dev->epmaxpacketin[ep];
|
|
(len-txlen) : dev->epmaxpacketin[ep];
|
|
|
|
|
|
/* Set the ReqPkt bit */
|
|
/* Set the ReqPkt bit */
|
|
- writew(MUSB_RXCSR_H_REQPKT, &musbr->rxcsr);
|
|
|
|
|
|
+ csr = readw(&musbr->rxcsr);
|
|
|
|
+ writew(csr | MUSB_RXCSR_H_REQPKT, &musbr->rxcsr);
|
|
|
|
|
|
/* Wait until the RxPktRdy bit is set */
|
|
/* Wait until the RxPktRdy bit is set */
|
|
if (!wait_until_rxep_ready(dev, MUSB_INTR_EP)) {
|
|
if (!wait_until_rxep_ready(dev, MUSB_INTR_EP)) {
|