jedec_ts: read device id from the correct register
Due to my braino / typo the driver was reading the Vendor ID register twice. MFC after: 3 days
This commit is contained in:
parent
83cff1f8e5
commit
9823ed182c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320259
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user