svn commit: r320354 - stable/11/sys/dev/jedec_ts
Andriy Gapon
avg at FreeBSD.org
Mon Jun 26 09:32:59 UTC 2017
Author: avg
Date: Mon Jun 26 09:32:57 2017
New Revision: 320354
URL: https://svnweb.freebsd.org/changeset/base/320354
Log:
MFC r320259: jedec_ts: read device id from the correct register
Approved by: re (marius)
Modified:
stable/11/sys/dev/jedec_ts/jedec_ts.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/jedec_ts/jedec_ts.c
==============================================================================
--- stable/11/sys/dev/jedec_ts/jedec_ts.c Mon Jun 26 09:13:25 2017 (r320353)
+++ stable/11/sys/dev/jedec_ts/jedec_ts.c Mon Jun 26 09:32:57 2017 (r320354)
@@ -114,7 +114,7 @@ ts_attach(device_t dev)
device_printf(dev, "failed to read Manufacturer ID\n");
return (ENXIO);
}
- err = ts_readw_be(dev, 6, &devid);
+ err = ts_readw_be(dev, 7, &devid);
if (err != 0) {
device_printf(dev, "failed to read Device ID\n");
return (ENXIO);
More information about the svn-src-stable
mailing list