Index: ui/events/ozone/evdev/touch_event_converter.cc |
diff --git a/ui/events/ozone/evdev/touch_event_converter.cc b/ui/events/ozone/evdev/touch_event_converter.cc |
index 931187fa0118d6fa6035f06081a5fcab28609975..f29525fe6dc83ed512797a73269d577f0acd646d 100644 |
--- a/ui/events/ozone/evdev/touch_event_converter.cc |
+++ b/ui/events/ozone/evdev/touch_event_converter.cc |
@@ -121,7 +121,8 @@ void TouchEventConverterEvdev::OnFileCanReadWithoutBlocking(int fd) { |
if (read_size < 0) { |
if (errno == EINTR || errno == EAGAIN) |
return; |
- PLOG(ERROR) << "error reading device " << path_.value(); |
+ if (errno != ENODEV) |
+ PLOG(ERROR) << "error reading device " << path_.value(); |
Stop(); |
return; |
} |