greybus: firmware: remove skip-disconnected flag
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jan 2016 11:51:11 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jan 2016 20:17:13 +0000 (12:17 -0800)
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 <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/firmware.c

index 11d605b97bd06b0840b6b324a8652a830b5c4743..408c7e2c0b08020af6faf7944e56d9a46b763e72 100644 (file)
@@ -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);