Parent: ff9e27b9de956c7b8255e8aa5174ae334f9d6593
Author: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-11-12 15:26:52
Tree: fcb8470bffea5428d8fed0cb2860b5f7692c2a5d
android/hidhost: Fix error handling issue incase of G_IO_HUP Incase of G_IO_HUP on GIOCondtion when hid device disconnected, GIOCondition is combination of G_IO_IN and G_IO_HUP. Current code tries to read as soon as it finds G_IO_IN in condition. Apparently there is no data to read and loop continues.
Diffstat
| M | android/hidhost.c | | | 21 | ++++++++++++- - - - - - - - - |
1 files changed, 12 insertions(+), 9 deletions(-)