]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: add timeout to controlvm_periodic_work
authorDavid Kershner <david.kershner@unisys.com>
Tue, 18 Apr 2017 20:55:06 +0000 (16:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Apr 2017 09:49:52 +0000 (11:49 +0200)
commit4a8eab808f239ae1f40c3ab10c0c8b3f4c2c9995
tree78199bd5601090a87a1c624d5ac5f1b69905ca11
parentae3c8a5a7ca4cef27110c7171791c4d6582acd7b
staging: unisys: visorbus: add timeout to controlvm_periodic_work

Limit the amount that gets pulled from the queue on each try so we don't
get stuck in an infinite loop if something has gone wrong with the s-Par
firmware.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c