Message ID | 1270656268-7034-7-git-send-email-felipe.balbi@nokia.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Tony Lindgren |
Headers | show |
diff --git a/drivers/cbus/cbus.c b/drivers/cbus/cbus.c index 615f447..35f7c71 100644 --- a/drivers/cbus/cbus.c +++ b/drivers/cbus/cbus.c @@ -121,7 +121,7 @@ static int cbus_transfer(struct cbus_host *host, int dev, int reg, int data) spin_unlock_irqrestore(&host->lock, flags); - return is_read ? data : 0; + return data; } /*