diff --git a/drivers/soundwire/slave.c b/drivers/soundwire/slave.c index ac103bd0c1760..b6330b6672d59 100644 --- a/drivers/soundwire/slave.c +++ b/drivers/soundwire/slave.c @@ -55,6 +55,8 @@ static int sdw_slave_add(struct sdw_bus *bus, list_del(&slave->node); mutex_unlock(&bus->bus_lock); put_device(&slave->dev); + + return ret; } return ret;