mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
greybus: interface: remove unused interface-version quirk
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>
This commit is contained in:
parent
ae0f6454bb
commit
792db396d3
2 changed files with 3 additions and 7 deletions
|
@ -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. */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue