Mercurial > nand-ecoscentric
changeset 391:b69e341d77cd
Fix expression typo, reported by Andrew Lunn and David Smith
| author | bartv |
|---|---|
| date | Sun, 27 Oct 2002 15:04:06 +0000 |
| parents | 5cbd0f6d9ced |
| children | d82de0ee8e07 |
| files | packages/devs/usb/nec_upd985xx/current/ChangeLog packages/devs/usb/nec_upd985xx/current/src/usbs_upd985xx.c |
| diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/devs/usb/nec_upd985xx/current/ChangeLog +++ b/packages/devs/usb/nec_upd985xx/current/ChangeLog @@ -1,3 +1,9 @@ +2002-10-26 Bart Veer <bartv@ecoscentric.com> + + * src/usbs_upd985xx.c (ep0_rx_dsr): + Fix typo in expression, reported by Andrew Lunn. The system's + behaviour should not be affected. + 2001-09-20 Bart Veer <bartv@redhat.com> * src/usbs_upd985xx.c (ep0_init):
--- a/packages/devs/usb/nec_upd985xx/current/src/usbs_upd985xx.c +++ b/packages/devs/usb/nec_upd985xx/current/src/usbs_upd985xx.c @@ -1243,7 +1243,7 @@ ep0_rx_dsr(void) // If we have received a control packet then any reset signals really // will have come from the host and must be processed normally. // Make sure that reset interrupts are no longer masked off. - if (0 == (*USBS_IMR2 * IBUS_SWAP32(USBS_GSR2_URST))) { + if (0 == (*USBS_IMR2 & IBUS_SWAP32(USBS_GSR2_URST))) { *USBS_IMR2 |= IBUS_SWAP32(USBS_GSR2_URST); FLUSH_IBUS(); usbs_upd985xx_gsr2_mask |= USBS_GSR2_URST; }
