Date: Mon, 26 Jun 2017 09:34:41 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r320355 - stable/10/sys/dev/jedec_ts Message-ID: <201706260934.v5Q9YfHK023847@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Mon Jun 26 09:34:41 2017 New Revision: 320355 URL: https://svnweb.freebsd.org/changeset/base/320355 Log: MFC r320259: jedec_ts: read device id from the correct register Modified: stable/10/sys/dev/jedec_ts/jedec_ts.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/jedec_ts/jedec_ts.c ============================================================================== --- stable/10/sys/dev/jedec_ts/jedec_ts.c Mon Jun 26 09:32:57 2017 (r320354) +++ stable/10/sys/dev/jedec_ts/jedec_ts.c Mon Jun 26 09:34:41 2017 (r320355) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706260934.v5Q9YfHK023847>