From patchwork Thu May 12 11:40:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 779672 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4CBehh2012259 for ; Thu, 12 May 2011 11:40:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755625Ab1ELLke (ORCPT ); Thu, 12 May 2011 07:40:34 -0400 Received: from na3sys009aog102.obsmtp.com ([74.125.149.69]:41884 "EHLO na3sys009aog102.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755523Ab1ELLkb (ORCPT ); Thu, 12 May 2011 07:40:31 -0400 Received: from mail-ew0-f52.google.com ([209.85.215.52]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKTcvHLmc3LX5n8EnrAtrleJZfgL0H0qHP@postini.com; Thu, 12 May 2011 04:40:31 PDT Received: by ewy28 with SMTP id 28so560062ewy.11 for ; Thu, 12 May 2011 04:40:28 -0700 (PDT) Received: by 10.213.107.146 with SMTP id b18mr126123ebp.51.1305200428544; Thu, 12 May 2011 04:40:28 -0700 (PDT) Received: from localhost.localdomain (a62-248-131-233.elisa-laajakaista.fi [62.248.131.233]) by mx.google.com with ESMTPS id y3sm635893eeh.9.2011.05.12.04.40.26 (version=SSLv3 cipher=OTHER); Thu, 12 May 2011 04:40:27 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Tomi Valkeinen Subject: [PATCHv2 3/8] OMAP: DSS2: RFBI: add rfbi_bus_lock Date: Thu, 12 May 2011 14:40:08 +0300 Message-Id: <1305200413-23697-4-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1305200413-23697-1-git-send-email-tomi.valkeinen@ti.com> References: <1305200413-23697-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 12 May 2011 11:40:43 +0000 (UTC) Add similar bus lock to RFBI as is in DSI. The panel driver can use the bus lock to mark that the RFBI bus is currently in use. Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/dss/rfbi.c | 16 ++++++++++++++++ include/video/omapdss.h | 2 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap2/dss/rfbi.c b/drivers/video/omap2/dss/rfbi.c index 0985f2f..46817e7 100644 --- a/drivers/video/omap2/dss/rfbi.c +++ b/drivers/video/omap2/dss/rfbi.c @@ -32,6 +32,7 @@ #include #include #include +#include #include