mipi_bif: tegra: Fix command sequence for INT_READ
Chaitanya Bandi [Mon, 11 Feb 2013 08:35:33 +0000 (13:35 +0530)]
Bug 1022139

Change-Id: I924862423cdabad798973c524f74562e88dd4625
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/199307
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

drivers/mipi_bif/mipi-bif-tegra.c

index db2161e..e126720 100644 (file)
@@ -715,8 +715,7 @@ tegra_mipi_bif_xfer(struct mipi_bif_adapter *adap, struct mipi_bif_msg *msg)
        } else if (msg->commands == MIPI_BIF_INT_READ) {
 
                tegra_mipi_bif_send(mipi_bif_dev, sda_part | MIPI_BIF_SDA);
-               tegra_mipi_bif_send(mipi_bif_dev,
-                                       sda_part | MIPI_BIF_BUS_COMMAND_EINT);
+               tegra_mipi_bif_send(mipi_bif_dev, MIPI_BIF_BUS_COMMAND_EINT);
 
                tegra_mipi_bif_unmask_irq(mipi_bif_dev, int_mask);