staging: unisys: visornic - correctly reset flag prior to send_enbdis()
authorTim Sell <Timothy.Sell@unisys.com>
Tue, 28 Jul 2015 16:29:08 +0000 (12:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 23:10:35 +0000 (16:10 -0700)
commit6483783d24afc22248f3051326681a4327e29e72
tree3b8cb1ab696bebc6d7c98c372456ed8b97025089
parent6f562b21612d938cf43202ca3fe29636893aa5df
staging: unisys: visornic - correctly reset flag prior to send_enbdis()

Because devdata->enab_dis_acked is the flag used to determine whether an
enable/disable operation to the IO partition has completed, it should
always be cleared prior to initiating the operation.  The call added to
visornic_enable_with_timeout() added in this patch makes the usage there
consistent with visornic_disable_with_timeout().

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c