Re: i2c: i2c-mv64xxx: rework offload support to fix several problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I have found your commit in the linux kernel mainline

  commit 00d8689b85a7bb37cc57ba4c40bd46325f51ced4
  Author: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>
  Date:   Thu Dec 11 17:33:46 2014 +0100

      i2c: mv64xxx: rework offload support to fix several problems

see also https://patchwork.ozlabs.org/patch/420180/

Here is a fragment:

+static bool
+mv64xxx_i2c_can_offload(struct mv64xxx_i2c_data *drv_data)
+{
+	struct i2c_msg *msgs = drv_data->msgs;
+	int num = drv_data->num_msgs;
+
+	return false;
^^^^^^^^^^^^^^^^^^^^^
+
+	if (!drv_data->offload_enabled)
+		return false;

So mv64xxx_i2c_can_offload() is always returns false and offload is always disabled.

Please comment this.

-- 
Best regards,
  Antony Pavlov
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux