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)
commit04dbc09b255ec0be67e6b0f7bf114675ac143cd9
tree78199bd5601090a87a1c624d5ac5f1b69905ca11
parentd02bde9d37bc00376727a2b422ee95323bbcd6d6
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