Commit a6927d8
media: rc: i2c: only poll if the rc device is opened
The lirc_zilog driver only polls the device if the lirc chardev
is opened; do the same with the rc-core driver.
Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>1 parent 50a762b commit a6927d8
1 file changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
301 | 317 | | |
302 | 318 | | |
303 | 319 | | |
| |||
441 | 457 | | |
442 | 458 | | |
443 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
444 | 463 | | |
445 | 464 | | |
446 | 465 | | |
| |||
450 | 469 | | |
451 | 470 | | |
452 | 471 | | |
| 472 | + | |
| 473 | + | |
453 | 474 | | |
454 | 475 | | |
455 | 476 | | |
456 | 477 | | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | 478 | | |
462 | 479 | | |
463 | 480 | | |
| |||
0 commit comments