summaryrefslogtreecommitdiff
path: root/drivers/hwmon/dme1737.c
diff options
context:
space:
mode:
authorSifan Naeem <sifan.naeem@imgtec.com>2015-07-27 15:11:15 +0300
committerMark Brown <broonie@kernel.org>2015-07-29 16:51:41 +0300
commit011710e2ab659c7ad6e5e554806414bd7a9508be (patch)
tree00ed5babd877b5712ce9d2391fe5fb4966b324df /drivers/hwmon/dme1737.c
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
downloadlinux-011710e2ab659c7ad6e5e554806414bd7a9508be.tar.xz
spi: img-spfi: check for timeout error before proceeding
Calling spfi_wait_all_done is not required if the transfer has timed out before all data is transferred. spfi_wait_all_done polls for Alldone interrupt which is triggered to mark the transfer as complete and to indicate it is now safe to issue a new transfer. Fixes: 8c2c8c0 ("spi: img-spfi: Control CS lines with GPIO") Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com> Reviewed-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/hwmon/dme1737.c')
0 files changed, 0 insertions, 0 deletions