From patchwork Thu Mar 20 19:29:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 26756 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8000020143 for ; Thu, 20 Mar 2014 19:32:11 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id cz12sf3225973veb.10 for ; Thu, 20 Mar 2014 12:32:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=CYLyAKvu8r1bGnUPdfQ+Lzk6zioLKve+ra7Yu3vI1Ms=; b=i0BKSsaSO3/qCWr3WaHU/ZdU7JFiQgYcGJ2O62x9Mba1kbm89/G7lFtyMPK61xHh5p 0JCdu0zg6Hv8Ye12SsTpQJHHYF2ttAKxGQVIpLqFIUzfJOBxI8SokOpl/Xwzay2wnZXT +fqerLv+Ws0Z7qvQlZXdtsBSbcWZ9QVD3Ueq2rcDZ5T0FADHJ5VoS8CESrUiIXHGQDVY TfPPgtrzXDOBuXc7OJEwGWZrVGZTRGnD+QO5RhotJSr8h1IG9tfXyKFqKPlKHLlYpyYi WysxodnhIEKqoyWdnETx/3y8fo9MVcGQappyfM3jG8P8zBSc18yFuq0DGiGCx5AwjNXR 99SQ== X-Gm-Message-State: ALoCoQn3rRUuFGe/MTdObdu4goocp0bute1TDVzceE95yl9PYyDfeQonovbL8S6LnT5DRNUi4XkV X-Received: by 10.58.39.202 with SMTP id r10mr8621694vek.12.1395343931240; Thu, 20 Mar 2014 12:32:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.85.203 with SMTP id n69ls357206qgd.96.gmail; Thu, 20 Mar 2014 12:32:11 -0700 (PDT) X-Received: by 10.52.243.167 with SMTP id wz7mr1398307vdc.47.1395343931148; Thu, 20 Mar 2014 12:32:11 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id d12si628551vco.191.2014.03.20.12.32.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 12:32:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id ij19so1511457vcb.24 for ; Thu, 20 Mar 2014 12:32:11 -0700 (PDT) X-Received: by 10.52.72.12 with SMTP id z12mr4251767vdu.40.1395343931046; Thu, 20 Mar 2014 12:32:11 -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.220.78.9 with SMTP id i9csp413877vck; Thu, 20 Mar 2014 12:32:10 -0700 (PDT) X-Received: by 10.68.197.99 with SMTP id it3mr49525840pbc.37.1395343930106; Thu, 20 Mar 2014 12:32:10 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si2105457paa.280.2014.03.20.12.32.06; Thu, 20 Mar 2014 12:32:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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 S965016AbaCTTcC (ORCPT + 5 others); Thu, 20 Mar 2014 15:32:02 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:53489 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757067AbaCTTb7 (ORCPT ); Thu, 20 Mar 2014 15:31:59 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2KJVtna012471; Thu, 20 Mar 2014 14:31:55 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2KJVtQ0018604; Thu, 20 Mar 2014 14:31:55 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Thu, 20 Mar 2014 14:31:55 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2KJVsa4030920; Thu, 20 Mar 2014 14:31:55 -0500 From: Felipe Balbi To: Greg KH CC: , , , , , Linux OMAP Mailing List , Linux Kernel Mailing List , Felipe Balbi Subject: [PATCH 01/11] tty: serial: add missing braces Date: Thu, 20 Mar 2014 14:29:57 -0500 Message-ID: <1395343807-21618-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.9.1.286.g5172cb3 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: , List-Help: , List-Archive: List-Unsubscribe: , per CodingStyle we should have those braces, no functional changes. Signed-off-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 77f0351..73abba8 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1677,8 +1677,10 @@ static int serial_omap_probe(struct platform_device *pdev) omap_up_info->DTR_present) { up->DTR_gpio = omap_up_info->DTR_gpio; up->DTR_inverted = omap_up_info->DTR_inverted; - } else + } else { up->DTR_gpio = -EINVAL; + } + up->DTR_active = 0; up->dev = &pdev->dev; @@ -1740,6 +1742,7 @@ static int serial_omap_probe(struct platform_device *pdev) platform_set_drvdata(pdev, up); if (omap_up_info->autosuspend_timeout == 0) omap_up_info->autosuspend_timeout = -1; + device_init_wakeup(up->dev, true); pm_runtime_use_autosuspend(&pdev->dev); pm_runtime_set_autosuspend_delay(&pdev->dev,