daniel-santos / mcp2210-linux

MCP2210 driver for linux
http://danielthesantos.blogspot.com/search/label/mcp2210
51 stars 31 forks source link

Doing eeprom ioctl while post-probe driver code is reading EEPROM causes failure #24

Open daniel-santos opened 8 years ago

daniel-santos commented 8 years ago

So the driver needs to determine when we are still working towards getting configured and prevent this from happening.

[16378.177593] usb 1-1: mcp2210_ioctl_eeprom:
[16378.177614] usb 1-1: mcp2210_ioctl_eeprom: waiting...
[16380.025242] usb 1-1: mcp2210_creek_probe: EEPROM not completely read.
[16380.025263] usb 1-1: creek_configure: Failed to decode board config from MCP2210's user-EEPROM: -1e
[16380.033195] usb 1-1: mcp2210_ioctl_complete:
[16391.796665] usb 1-1: mcp2210_ioctl_eeprom: