diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2018-10-06 13:31:56 +0200 |
---|---|---|
committer | Stefan Wahren <stefan.wahren@i2se.com> | 2018-11-14 20:46:18 +0100 |
commit | 0829187b17d8019f9bb40c56d47f37b1991a2189 (patch) | |
tree | 1b3bb3854edcd832c9ad4b3566c0b2f993e63cb0 /drivers/firmware/memmap.c | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) | |
download | linux-0829187b17d8019f9bb40c56d47f37b1991a2189.tar.gz linux-0829187b17d8019f9bb40c56d47f37b1991a2189.tar.bz2 linux-0829187b17d8019f9bb40c56d47f37b1991a2189.zip |
firmware: raspberrypi: Define timeout for transactions
We should never assume to get a reply from the firmware otherwise
the call could block forever and the user don't get informed. So
define a timeout of 1 sec and print a stacktrace once in the unlikely
case the timeout expired.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/firmware/memmap.c')
0 files changed, 0 insertions, 0 deletions