Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757480AbaBUAw0 (ORCPT ); Thu, 20 Feb 2014 19:52:26 -0500 Received: from smtprelay0238.hostedemail.com ([216.40.44.238]:43559 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755624AbaBUAwW (ORCPT ); Thu, 20 Feb 2014 19:52:22 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1 X-HE-Tag: bears09_8846ba3528415 X-Filterd-Recvd-Size: 2491 Message-ID: <1392943934.2594.14.camel@joe-AO722> Subject: Re: [PATCH v3 2/2] i2c: New bus driver for the Qualcomm QUP I2C controller From: Joe Perches To: Bjorn Andersson Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley , Wolfram Sang , Grant Likely , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Gross , Stephen Boyd , "Ivan T. Ivanov" Date: Thu, 20 Feb 2014 16:52:14 -0800 In-Reply-To: <1392943090-30556-3-git-send-email-bjorn.andersson@sonymobile.com> References: <1392943090-30556-1-git-send-email-bjorn.andersson@sonymobile.com> <1392943090-30556-3-git-send-email-bjorn.andersson@sonymobile.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2014-02-20 at 16:38 -0800, Bjorn Andersson wrote: > This bus driver supports the QUP i2c hardware controller in the Qualcomm SOCs. > The Qualcomm Universal Peripheral Engine (QUP) is a general purpose data path > engine with input/output FIFOs and an embedded i2c mini-core. The driver > supports FIFO mode (for low bandwidth applications) and block mode (interrupt > generated for each block-size data transfer). trivia: > diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c [] > +#ifdef CONFIG_PM_SLEEP > +static int qup_i2c_suspend(struct device *device) > +{ > + dev_dbg(device, "system suspend"); > + qup_i2c_pm_suspend_runtime(device); > + return 0; > +} > + > +static int qup_i2c_resume(struct device *device) > +{ > + dev_dbg(device, "system resume"); > + qup_i2c_pm_resume_runtime(device); > + pm_runtime_mark_last_busy(device); > + pm_request_autosuspend(device); > + return 0; > +} > +#endif Missing terminating newlines for dev_dbg statements. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/