]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/busses/i2c-taos-evm.c
Extra omap code in linux-omap tree
[linux-2.6-omap-h63xx.git] / drivers / i2c / busses / i2c-taos-evm.c
index de9db49e54d93d8785f0beef0df4c5df28036a12..224aa12ee7c85d880118db61cac79a2b564e6af1 100644 (file)
@@ -96,9 +96,8 @@ static int taos_smbus_xfer(struct i2c_adapter *adapter, u16 addr,
                        sprintf(p, "$%02X", command);
                break;
        default:
-               dev_dbg(&adapter->dev, "Unsupported transaction size %d\n",
-                       size);
-               return -EINVAL;
+               dev_warn(&adapter->dev, "Unsupported transaction %d\n", size);
+               return -EOPNOTSUPP;
        }
 
        /* Send the transaction to the TAOS EVM */