From: Johan Hovold Date: Tue, 19 Jan 2016 11:51:11 +0000 (+0100) Subject: greybus: firmware: remove skip-disconnected flag X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~801 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3e1b8c753d982bd4a63b0896a4ea68888f47502e;p=karo-tx-linux.git greybus: firmware: remove skip-disconnected flag Remove the legacy protocol flag that was used to suppress sending the control disconnected operation. Instead rely on the fact that no control operations will be sent by core to an interface that has been removed (e.g. after having received a new hotplug event after the bootrom has jumped to the new image). Reviewed-by: Viresh Kumar Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/firmware.c b/drivers/staging/greybus/firmware.c index 11d605b97bd0..408c7e2c0b08 100644 --- a/drivers/staging/greybus/firmware.c +++ b/drivers/staging/greybus/firmware.c @@ -285,6 +285,5 @@ static struct gb_protocol firmware_protocol = { .connection_init = gb_firmware_connection_init, .connection_exit = gb_firmware_connection_exit, .request_recv = gb_firmware_request_recv, - .flags = GB_PROTOCOL_SKIP_CONTROL_DISCONNECTED, }; gb_builtin_protocol_driver(firmware_protocol);