diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-06-08 10:09:07 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-07-28 17:03:11 +0300 |
commit | 1a339b658d9dbe1471f67b78237cf8fa08bbbeb5 (patch) | |
tree | a6760d632e23190489b343114bc6413b714890ba /drivers/rtc/rtc-ab8500.c | |
parent | ce63c05b664e491b4cc79c713c68d8170bd0f581 (diff) | |
download | linux-1a339b658d9dbe1471f67b78237cf8fa08bbbeb5.tar.xz |
tpm_tis_spi: Pass the SPI IRQ down to the driver
An SPI TPM device managed directly on an embedded board using
the SPI bus and some GPIO or similar line as IRQ handler will
pass the IRQn from the TPM device associated with the SPI
device. This is already handled by the SPI core, so make sure
to pass this down to the core as well.
(The TPM core habit of using -1 to signal no IRQ is dubious
(as IRQ 0 is NO_IRQ) but I do not want to mess with that
semantic in this patch.)
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/rtc/rtc-ab8500.c')
0 files changed, 0 insertions, 0 deletions