Repository navigation
Commit 2c02850
HID: do not use down_interruptible() when unbinding devices
[ Upstream commit f2145f8 ]
Action of unbinding driver from a device is not cancellable and should not
fail, and driver core does not pay attention to the result of "remove"
method, therefore using down_interruptible() in hid_device_remove() does
not make sense.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 51b7499 commit 2c02850
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2306 | 2306 | | |
2307 | 2307 | | |
2308 | 2308 | | |
2309 | | - | |
2310 | 2309 | | |
2311 | | - | |
2312 | | - | |
2313 | | - | |
2314 | | - | |
| 2310 | + | |
2315 | 2311 | | |
2316 | 2312 | | |
2317 | 2313 | | |
| |||
2326 | 2322 | | |
2327 | 2323 | | |
2328 | 2324 | | |
2329 | | - | |
2330 | | - | |
| 2325 | + | |
| 2326 | + | |
2331 | 2327 | | |
2332 | 2328 | | |
2333 | 2329 | | |
| |||
0 commit comments