From patchwork Tue Jun 14 15:38:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yeongjun Kim X-Patchwork-Id: 9176215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 17BC46021B for ; Tue, 14 Jun 2016 15:45:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AD3921327 for ; Tue, 14 Jun 2016 15:45:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F390527DF9; Tue, 14 Jun 2016 15:45:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E8F821327 for ; Tue, 14 Jun 2016 15:45:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751388AbcFNPpD (ORCPT ); Tue, 14 Jun 2016 11:45:03 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:36474 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268AbcFNPpC (ORCPT ); Tue, 14 Jun 2016 11:45:02 -0400 Received: by mail-pa0-f65.google.com with SMTP id fg1so12892520pad.3; Tue, 14 Jun 2016 08:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=9vGr2vgCUbWk0vDcG2j5IBhrDFDSwOnccl6ow6WRym0=; b=klRFcIRsvDexSNHjOoGc1gS5EWBK5dCKqBlpcigxzNbYBbIG+G3uf78cI0lia3bTMZ WzsdFgPsNK+lNM6lPDXC1xad0QD70K4bd82sOT+BH3rmI/M2Hl9NaIZXqdfHFZego9gc FP69+dxN1o/b7BslAKB3h8uxSLtTo0fVDkaiuzANT2STx8FfYpFDowkZHUExTe7+mbB+ pfPOhr/5TTo1cc99BkFTELhBdk/e4wlNiWlnxNnN+SLL5KVGip09dzUl3toddhHIHHvA cLqHB7jxBNdao3jv2EH2jvoCe+ta8VLKA8RD5gVZco9NrmTT6W6krKR7sa4ZJleX9eTL RGVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=9vGr2vgCUbWk0vDcG2j5IBhrDFDSwOnccl6ow6WRym0=; b=UiYw9oatn2FYMC1NfxAYclB+MyPlEnA9U5QrXAvYc3lKWNdNjFCqDn9jA87rzsIatw ZvioQboahtiE4Yr/yFfnDnDgacBBQY0bGFCEAS5ftfI/omtbhbPXgz0kBai+4i9qBqry BzuEwMKUKf/2D3N+IHem0YwGrXnHHlVyUIV/L4jLmq0cRwQH5sDuxANUfBo+DTJ6KQCv 2MZJER6B3kAOxUQWfh04KX+fZ0M4CQOpG+JTja3zkSNhZKe6y6UX5JWi0yYhtefiLOFn sjvDQ4dqZ38+0nh0SDa04tzoXodOS7noxOhZyFwWojwzdgC32BXBZRb1dol3a8CNQ4NB ynEg== X-Gm-Message-State: ALyK8tLNRQi+sx940VYLY/yHBA9ljjqkllWHNziaQikvpKIuaK8uPJSR1johE2rlvaLfEQ== X-Received: by 10.66.193.231 with SMTP id hr7mr23677105pac.28.1465919101267; Tue, 14 Jun 2016 08:45:01 -0700 (PDT) Received: from yeongjun-VirtualBox ([61.79.158.95]) by smtp.gmail.com with ESMTPSA id xn3sm46367659pab.32.2016.06.14.08.45.00 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jun 2016 08:45:00 -0700 (PDT) Date: Wed, 15 Jun 2016 00:38:33 +0900 From: yeongjun Kim To: sudipm.mukherjee@gmail.com Cc: teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: sm750fb: fix block comments errors in ddk750_display.c Message-ID: <20160614153833.GA23451@gmail.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line Signed-off-by: yeongjun Kim --- drivers/staging/sm750fb/ddk750_display.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_display.c b/drivers/staging/sm750fb/ddk750_display.c index ca4973e..a040042 100644 --- a/drivers/staging/sm750fb/ddk750_display.c +++ b/drivers/staging/sm750fb/ddk750_display.c @@ -68,8 +68,10 @@ static void waitNextVerticalSync(int ctrl, int delay) if (!ctrl) { /* primary controller */ - /* Do not wait when the Primary PLL is off or display control is already off. - This will prevent the software to wait forever. */ + /* + * Do not wait when the Primary PLL is off or display control is + * already off. This will prevent the software to wait forever. + */ if (!(PEEK32(PANEL_PLL_CTRL) & PLL_CTRL_POWER) || !(PEEK32(PANEL_DISPLAY_CTRL) & DISPLAY_CTRL_TIMING)) { return; @@ -88,9 +90,10 @@ static void waitNextVerticalSync(int ctrl, int delay) } } else { - - /* Do not wait when the Primary PLL is off or display control is already off. - This will prevent the software to wait forever. */ + /* + * Do not wait when the Primary PLL is off or display control is + * already off. This will prevent the software to wait forever. + */ if (!(PEEK32(CRT_PLL_CTRL) & PLL_CTRL_POWER) || !(PEEK32(CRT_DISPLAY_CTRL) & DISPLAY_CTRL_TIMING)) { return;