commit | 67d52c3b0806d6ec59b96865d658540057c8aefc | [log] [tgz] |
---|---|---|
author | Michael Spang <[email protected]> | Mon May 26 16:52:35 2014 |
committer | chrome-internal-fetch <[email protected]> | Tue May 27 19:41:31 2014 |
tree | 951c582bc692ab817334486c0f5988b30288713a | |
parent | c5f9d709788462ff405a4e7709969b722bf6f421 [diff] |
power: Make EVIOCPHYS non-fatal if it returns ENOENT Some input devices don't have any value for EVIOCPHYS. In this case, the call fails with ENOENT. We should still allow these devices to be used (with phys of "Unknown"). BUG=none TEST=build & install Change-Id: Ie41e2c9fc91523919b604d95a84824c47b2b74e4 Reviewed-on: https://chromium-review.googlesource.com/201560 Reviewed-by: Daniel Erat <[email protected]> Commit-Queue: Michael Spang <[email protected]> Tested-by: Michael Spang <[email protected]>