Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/dwc2/dist Fix DWC2_READ_4 in dwc2_sample_fr...



details:   https://anonhg.NetBSD.org/src/rev/585057e0e669
branches:  trunk
changeset: 343550:585057e0e669
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Feb 14 10:34:09 2016 +0000

description:
Fix DWC2_READ_4 in dwc2_sample_frrem which is unused

diffstat:

 sys/external/bsd/dwc2/dist/dwc2_hcd.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fd3b6f8a5bb4 -r 585057e0e669 sys/external/bsd/dwc2/dist/dwc2_hcd.h
--- a/sys/external/bsd/dwc2/dist/dwc2_hcd.h     Sun Feb 14 03:41:18 2016 +0000
+++ b/sys/external/bsd/dwc2/dist/dwc2_hcd.h     Sun Feb 14 10:34:09 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dwc2_hcd.h,v 1.10 2015/08/30 12:59:59 skrll Exp $      */
+/*     $NetBSD: dwc2_hcd.h,v 1.11 2016/02/14 10:34:09 skrll Exp $      */
 
 /*
  * hcd.h - DesignWare HS OTG Controller host-mode declarations
@@ -733,7 +733,7 @@
                           qtd_list_entry);                             \
        if (usb_pipeint(_qtd_->urb->pipe) &&                            \
            (_qh_)->start_split_frame != 0 && !_qtd_->complete_split) { \
-               _hfnum_.d32 = DWC2_READ_4(hsotg, (_hcd_)->regs + HFNUM);                \
+               _hfnum_.d32 = DWC2_READ_4((_hcd_), HFNUM);              \
                switch (_hfnum_.b.frnum & 0x7) {                        \
                case 7:                                                 \
                        (_hcd_)->hfnum_7_samples_##_letter_++;          \



Home | Main Index | Thread Index | Old Index