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
5816cc6184
commit
2da4ac8256
@ -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