Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Pull input fix from Dmitry Torokhov:
"A small fixup to the Zinitix touchscreen driver to avoid enabling the
IRQ line before we successfully requested it"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: zinitix - make sure the IRQ is allocated before it gets enabled

Changed files
+9 -9
drivers
input
touchscreen
+9 -9
drivers/input/touchscreen/zinitix.c
··· 488 488 return error; 489 489 } 490 490 491 + error = devm_request_threaded_irq(&client->dev, client->irq, 492 + NULL, zinitix_ts_irq_handler, 493 + IRQF_ONESHOT | IRQF_NO_AUTOEN, 494 + client->name, bt541); 495 + if (error) { 496 + dev_err(&client->dev, "Failed to request IRQ: %d\n", error); 497 + return error; 498 + } 499 + 491 500 error = zinitix_init_input_dev(bt541); 492 501 if (error) { 493 502 dev_err(&client->dev, ··· 520 511 "Malformed zinitix,mode property, must be 2 (supplied: %d)\n", 521 512 bt541->zinitix_mode); 522 513 return -EINVAL; 523 - } 524 - 525 - error = devm_request_threaded_irq(&client->dev, client->irq, 526 - NULL, zinitix_ts_irq_handler, 527 - IRQF_ONESHOT | IRQF_NO_AUTOEN, 528 - client->name, bt541); 529 - if (error) { 530 - dev_err(&client->dev, "Failed to request IRQ: %d\n", error); 531 - return error; 532 514 } 533 515 534 516 return 0;