]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cyttsp - verbose error on soft reset
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Mar 2021 03:25:26 +0000 (20:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Mar 2021 18:14:10 +0000 (11:14 -0700)
commitd1b1289a15c6913036f94bfa7feef463cfa777e7
tree4b4a3ebb96031cba99ce9654e8c4f156211dbd93
parent893dff6df2049a08801f6010028a151d8b6c1651
Input: cyttsp - verbose error on soft reset

The first thing the Cypress driver does when starting
up is to try a soft reset. This is the first point where
the driver SPI/I2C communication can fail, so put out some
nice debug text:

  cyttsp-spi spi2.0: failed to send soft reset

Instead of just:

  cyttsp-spi: probe of spi2.0 failed with error -5

This is more helpful.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210322221349.1116666-1-linus.walleij@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp_core.c