We currently handle dummy interfaces by deactivating them using
activation error paths, but we don't want the corresponding
module_inserted error message to be printed.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
break;
}
if (ret) {
- dev_err(&module->dev, "failed to activate interface %u: %d\n",
- intf_id, ret);
+ if (intf->type != GB_SVC_INTF_TYPE_DUMMY) {
+ dev_err(&module->dev,
+ "failed to activate interface %u: %d\n",
+ intf_id, ret);
+ }
/*
* -EAGAIN indicates that the Greybus operation