svn commit: r366638 - stable/12/sys/dev/usb/controller
Andriy Gapon
avg at FreeBSD.org
Mon Oct 12 10:53:35 UTC 2020
Author: avg
Date: Mon Oct 12 10:53:35 2020
New Revision: 366638
URL: https://svnweb.freebsd.org/changeset/base/366638
Log:
MFC r365400: musb/allwinner: apply register filter in awusbdrd_bs_r_2() as well
Modified:
stable/12/sys/dev/usb/controller/musb_otg_allwinner.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/usb/controller/musb_otg_allwinner.c
==============================================================================
--- stable/12/sys/dev/usb/controller/musb_otg_allwinner.c Mon Oct 12 10:51:34 2020 (r366637)
+++ stable/12/sys/dev/usb/controller/musb_otg_allwinner.c Mon Oct 12 10:53:35 2020 (r366638)
@@ -259,6 +259,8 @@ awusbdrd_bs_r_2(awusb_bs_tag t, bus_space_handle_t h,
{
const struct bus_space *bs = t;
+ if (awusbdrd_filt(o) != 0)
+ return (0);
return bus_space_read_2(bs_parent_space(bs), h, awusbdrd_reg(o));
}
More information about the svn-src-all
mailing list