i2c: powermac: remove uncertainty about SMBUS_BLOCK transfers
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 12 Feb 2021 17:03:50 +0000 (18:03 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 18 Mar 2021 10:59:57 +0000 (11:59 +0100)
The driver does the correct thing, so no need to question it.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-powermac.c

index 3e38e114948b229d69812078a05ce286bbd75f24..5241e6f414e961ecbd4021861b276c1e187de32c 100644 (file)
@@ -76,11 +76,6 @@ static s32 i2c_powermac_smbus_xfer(  struct i2c_adapter*     adap,
         * but I think the current API makes no sense and I don't want
         * any driver that I haven't verified for correctness to go
         * anywhere near a pmac i2c bus anyway ...
-        *
-        * I'm also not completely sure what kind of phases to do between
-        * the actual command and the data (what I am _supposed_ to do that
-        * is). For now, I assume writes are a single stream and reads have
-        * a repeat start/addr phase (but not stop in between)
         */
         case I2C_SMBUS_BLOCK_DATA:
                buf = data->block;