greybus: interface: remove unused interface-version quirk
authorJohan Hovold <johan@hovoldconsulting.com>
Mon, 9 May 2016 12:40:10 +0000 (14:40 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 13 May 2016 10:02:57 +0000 (12:02 +0200)
The interface-version request was just removed so remove the now unused
interface-version quirk.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h

index 0b82938..a1435e9 100644 (file)
@@ -217,18 +217,15 @@ static int gb_interface_read_and_clear_init_status(struct gb_interface *intf)
 
        /*
         * Check if the interface is executing the quirky ES3 bootrom that
-        * requires E2EFC, CSD and CSV to be disabled and that does not
-        * support the interface-version request.
+        * requires E2EFC, CSD and CSV to be disabled.
         */
        switch (init_status) {
        case GB_INIT_BOOTROM_UNIPRO_BOOT_STARTED:
        case GB_INIT_BOOTROM_FALLBACK_UNIPRO_BOOT_STARTED:
                intf->quirks |= GB_INTERFACE_QUIRK_NO_CPORT_FEATURES;
-               intf->quirks |= GB_INTERFACE_QUIRK_NO_INTERFACE_VERSION;
                break;
        default:
                intf->quirks &= ~GB_INTERFACE_QUIRK_NO_CPORT_FEATURES;
-               intf->quirks &= ~GB_INTERFACE_QUIRK_NO_INTERFACE_VERSION;
        }
 
        /* Clear the init status. */
index 7a2162a..1a25234 100644 (file)
@@ -11,9 +11,8 @@
 #define __INTERFACE_H
 
 #define GB_INTERFACE_QUIRK_NO_CPORT_FEATURES           BIT(0)
-#define GB_INTERFACE_QUIRK_NO_INTERFACE_VERSION                BIT(1)
-#define GB_INTERFACE_QUIRK_NO_INIT_STATUS              BIT(2)
-#define GB_INTERFACE_QUIRK_NO_ARA_IDS                  BIT(3)
+#define GB_INTERFACE_QUIRK_NO_INIT_STATUS              BIT(1)
+#define GB_INTERFACE_QUIRK_NO_ARA_IDS                  BIT(2)
 
 struct gb_interface {
        struct device dev;