daniel-santos / mcp2210-linux

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

USB autosuspend support incomplete #8

Open daniel-santos opened 10 years ago

daniel-santos commented 10 years ago

Support for USB autosuspend is incomplete and has been causing some problems. Commit 1a4d9f46dd35620da3169492fa64c4cf6db69788 removes all code supporting autosuspend as unless CONFIG_MCP2210_AUTOPM is enabled. However, we still need a suspend & resume function as well as locking to prevent suspension while non-polling commands are queued. Finally, problems with usb_autopm* returning -EACCES need to be further researched and corrected.