From patchwork Wed Mar 10 10:18:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Tereshonkov X-Patchwork-Id: 84526 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2AAItds024834 for ; Wed, 10 Mar 2010 10:18:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753000Ab0CJKS5 (ORCPT ); Wed, 10 Mar 2010 05:18:57 -0500 Received: from smtp.nokia.com ([192.100.122.233]:39701 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142Ab0CJKS4 (ORCPT ); Wed, 10 Mar 2010 05:18:56 -0500 Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2AAIQpS013100; Wed, 10 Mar 2010 12:18:51 +0200 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 10 Mar 2010 12:18:44 +0200 Received: from mgw-sa02.ext.nokia.com ([147.243.1.48]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 10 Mar 2010 12:18:44 +0200 Received: from localhost.localdomain (ramses.research.nokia.com [172.21.51.130]) by mgw-sa02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2AAIf1q027376; Wed, 10 Mar 2010 12:18:42 +0200 From: Roman Tereshonkov To: linux-omap@vger.kernel.org Cc: scott@jumpnowtek.com, gadiyar@ti.com, Roman Tereshonkov Subject: [PATCH 1/2] omap2_mcspi: Flush posted writes Date: Wed, 10 Mar 2010 12:18:35 +0200 Message-Id: <1268216316-32552-1-git-send-email-roman.tereshonkov@nokia.com> X-Mailer: git-send-email 1.6.2.rc1.3.g81d3f X-OriginalArrivalTime: 10 Mar 2010 10:18:44.0934 (UTC) FILETIME=[10B45E60:01CAC03B] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 10 Mar 2010 10:18:57 +0000 (UTC) diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index 715c518..35b31fe 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c @@ -203,6 +203,7 @@ static inline void mcspi_write_chconf0(const struct spi_device *spi, u32 val) cs->chconf0 = val; mcspi_write_cs_reg(spi, OMAP2_MCSPI_CHCONF0, val); + mcspi_read_cs_reg(spi, OMAP2_MCSPI_CHCONF0); } static void omap2_mcspi_set_dma_req(const struct spi_device *spi,