Message ID | 1434383399-2370-2-git-send-email-vaibhav.hiremath@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCMNZUWXYYORB4XJ7OVQKGQEBU42LDQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F8B6205DE for <linaro@patches.linaro.org>; Mon, 15 Jun 2015 15:53:23 +0000 (UTC) Received: by wgbhy7 with SMTP id hy7sf13299275wgb.3 for <linaro@patches.linaro.org>; Mon, 15 Jun 2015 08:53:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=cJKHT7VzFCO3W2etcq1LXEOokf8JQpXX2R4Z3IcPPgw=; b=Opp0VoLYhEHpD1GWNBThQ1I3k478kAUnfnlLyz6odyxAK3n9HDK+1Sv7KgJFVke2Fx 6eA/l/CaJJJEYyd9jmQ5o3SzocFWZGWn032i1IFKWLpymzhzHGyK1VAjKzCBwqq+h7yh DEDvxFUYq23bLsk43nec8y20Hz+khE32mldObxEBdQtwe95Tj+s2pLt9YFp+3caAncTC IAwCp2CpSzpLHNODHGvAoJ3PWJeZ/FtHqtzWK262E5oaNiEX5OvO5I9JXRYtWeuoJ8VZ 1xHhe3UgFPNfImi5LaI0KswAheAQmGEJEZzPo7DUC2sEuI/jHJb1uAxY57L4BdVsv42A Tu0Q== X-Gm-Message-State: ALoCoQnuBHYTdMbbhtEvPBcF8mNetS9/RJyQcXKYOTkBFJJZ0zFoyUshIh1x5GbxQxWzbKMz+yZY X-Received: by 10.194.175.36 with SMTP id bx4mr30367979wjc.1.1434383602471; Mon, 15 Jun 2015 08:53:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.37 with SMTP id w5ls830984laa.77.gmail; Mon, 15 Jun 2015 08:53:22 -0700 (PDT) X-Received: by 10.112.29.209 with SMTP id m17mr883142lbh.23.1434383602328; Mon, 15 Jun 2015 08:53:22 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id l1si10775629lbj.175.2015.06.15.08.53.22 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 08:53:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by labko7 with SMTP id ko7so60903108lab.2 for <patchwork-forward@linaro.org>; Mon, 15 Jun 2015 08:53:22 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr27835245laj.88.1434383602222; Mon, 15 Jun 2015 08:53:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1508689lbb; Mon, 15 Jun 2015 08:53:21 -0700 (PDT) X-Received: by 10.70.119.36 with SMTP id kr4mr50540462pdb.39.1434383600309; Mon, 15 Jun 2015 08:53:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si18495084pdr.64.2015.06.15.08.53.19; Mon, 15 Jun 2015 08:53:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755814AbbFOPxS (ORCPT <rfc822;vaibhav.hiremath@linaro.org> + 1 other); Mon, 15 Jun 2015 11:53:18 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:33226 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755800AbbFOPxS (ORCPT <rfc822; linux-i2c@vger.kernel.org>); Mon, 15 Jun 2015 11:53:18 -0400 Received: by padev16 with SMTP id ev16so68192474pad.0 for <linux-i2c@vger.kernel.org>; Mon, 15 Jun 2015 08:53:17 -0700 (PDT) X-Received: by 10.68.110.3 with SMTP id hw3mr48934137pbb.128.1434383597653; Mon, 15 Jun 2015 08:53:17 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id fs16sm12662484pdb.12.2015.06.15.08.53.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 08:53:16 -0700 (PDT) From: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> To: linux-i2c@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, wsa@the-dreams.de, robert.jarzmik@free.fr, Leilei Shang <shangll@marvell.com>, Raul Xiong <xjian@marvell.com>, Xiaofan Tian <tianxf@marvell.com>, Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Subject: [PATCH-V2 01/12] i2c: pxa: keep i2c irq ON in suspend Date: Mon, 15 Jun 2015 21:19:48 +0530 Message-Id: <1434383399-2370-2-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434383399-2370-1-git-send-email-vaibhav.hiremath@linaro.org> References: <vaibhav.hiremath@linaro.org> <1434383399-2370-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-i2c@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vaibhav.hiremath@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index d9c0d6a..f4ac8c5 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c @@ -1232,8 +1232,9 @@ static int i2c_pxa_probe(struct platform_device *dev) i2c->adap.algo = &i2c_pxa_pio_algorithm; } else { i2c->adap.algo = &i2c_pxa_algorithm; - ret = request_irq(irq, i2c_pxa_handler, IRQF_SHARED, - dev_name(&dev->dev), i2c); + ret = request_irq(irq, i2c_pxa_handler, + IRQF_SHARED | IRQF_NO_SUSPEND, + dev_name(&dev->dev), i2c); if (ret) goto ereqirq; }