summaryrefslogtreecommitdiff
path: root/irq.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 00:52:09 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 00:52:09 +0200
commit9a1b2fbdc9f319aaf57a79f8e6ce7d5e6a3ecaa6 (patch)
tree96698df2ff61b7f1786e876e9785ca207d0f4c83 /irq.h
parente70f1cf60341251042e071e37fbf7cea1f61b8a6 (diff)
corking: use bool instead of int
We have a boolen condition, so use bool instead of doing stupid things with ints. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'irq.h')
0 files changed, 0 insertions, 0 deletions
When this condition happens sony_input_configured returns a failure, but sony_probe continues as hid_hw_start doesn't fail. As was discussed on linux-input, it is acceptable for this function to fail. This patch adds a check for the HID_CLAIMED_INPUT flag within sony_probe to determine whether initialization succeeded correctly. The flag is not set by the HID layer when sony_input_configured fails. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation')