summaryrefslogtreecommitdiffstats
path: root/drivers/sh/clk
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@animalcreek.com>2014-09-02 15:12:44 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2014-09-07 23:13:45 +0200
commit1961843ceeca0d3e55744bba7ae8d9e23d04cf6a (patch)
treed515e99992c63e9063d613fabd6375ef6ac28f15 /drivers/sh/clk
parent6fb9edcb43d0b1bf0ac2aaf6ba488d105c45f477 (diff)
downloadop-kernel-dev-1961843ceeca0d3e55744bba7ae8d9e23d04cf6a.zip
op-kernel-dev-1961843ceeca0d3e55744bba7ae8d9e23d04cf6a.tar.gz
NFC: trf7970a: Handle timeout values of zero
The digital layer can try to send a command with a timeout value of zero (e.g., digital_tg_send_psl_res(). The zero value is used as a flag to indicate that the driver should not expect a response. To handle this, the driver sets an internal timer because it should still get an interrupt with the TX bit set in the IRQ Status Register. When it gets that interrupt, it returns a return value of '0'. If it doesn't get the interrupt before timing out, it returns ETIMEDOUT as usual. Signed-off-by: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/sh/clk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud