On Tuesday 20 August 2013 06:44 PM, Felipe Balbi wrote:
Hi,
On Tue, Aug 20, 2013 at 06:35:25PM +0530, Sourav Poddar wrote:
+static int qspi_transfer_msg(struct ti_qspi *qspi, struct spi_transfer *t)
+{
+ int ret;
+
+ if (t->tx_buf) {
+ ret = qspi_write_msg(qspi, t);
+ if (ret) {
+ dev_dbg(qspi->dev, "Error while writing\n");
+ return ret;
+ }
+ }
+
+ if (t->rx_buf) {
+ ret = qspi_read_msg(qspi, t);
+ if (ret) {
+ dev_dbg(qspi->dev, "Error while writing\n");
*READING*
hmm..got missed while folding local changes:(.
Will submit an updated patch.
other than that:
Acked-by: Felipe Balbi<balbi@xxxxxx>
Reviewed-by: Felipe Balbi<balbi@xxxxxx>
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html