From patchwork Sun Jul 2 04:39:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lynn Lei X-Patchwork-Id: 9821047 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 486406035F for ; Sun, 2 Jul 2017 04:39:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 383E62821F for ; Sun, 2 Jul 2017 04:39:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BC2228294; Sun, 2 Jul 2017 04:39:37 +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 0625F2821F for ; Sun, 2 Jul 2017 04:39:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750740AbdGBEjd (ORCPT ); Sun, 2 Jul 2017 00:39:33 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:34255 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbdGBEjd (ORCPT ); Sun, 2 Jul 2017 00:39:33 -0400 Received: by mail-pg0-f68.google.com with SMTP id j186so19570557pge.1; Sat, 01 Jul 2017 21:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=i9zHpuMdmQ9GCpbK4iVFdQEvUsXljK8jxgutoPLwpZ0=; b=AQQh0jBbxfQogWr23ekj9BsoO4CobZL0C5BsbL/mCAQB1cgVQHk7EdICsuC3EuP3Nq mAMuJY4zvvE+3x56mGUd7u7lSHZyHGSPhhzA44oki9L2hTdVwITN3jGjCVf67GKHlwcX OarlCDitzRqQucFP3UyYbGTs+ftYO4OZIkdvW139Q4N8YhMmHnLvk5O2rhhnb8zVI6TQ 8pchoGdTIChtRH6qnin+TGeb044emdkVgjU0htQy790InyU4MgOuTKGLqlVl19V1Xq+3 NrCUZWPkhCvNfH7R96i6/oYPUJILNCW/h62b/h3dIJAN1c2aqyhSc4/Qo06LHmOa7GjW zjXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=i9zHpuMdmQ9GCpbK4iVFdQEvUsXljK8jxgutoPLwpZ0=; b=EwmYY1jtYUbDw+RuyvhyyGiIspFHeFz63vEg030lnWx/DluCho6ULhZlWWgLGQT9aU MATnAy5RM/YIw79cs5nA9VjNuYn7PYniZtvi9h3OLLkzIOpblIlYBcQKu8jjDfO8vG/t hBX6tchzU6s46IvALJiNDnFg9BUPpRo+VW1fHoWcRi4VPqOee7FBj/gFpYB+qrr/5BhK CO29Ju61hbvldV9LC39mcRpTeWqudvKcgCa7GuOSjMpw9dB2XFj3wi1I5IgDtD4XzEKR lMBIE0x3NEiSpkse5gCOHeXVzeRiML8PocpHQpGhGhSYDoeWFDLxbFdTjFtZoBano/X4 eXEg== X-Gm-Message-State: AIVw112/tk5KNQYf0Ra5U3E/0f/pCTIT7BwUX0rVfwZa1fvH98kVaZIp FWLJ9SpP/pXToA== X-Received: by 10.84.215.140 with SMTP id l12mr3666241pli.133.1498970372223; Sat, 01 Jul 2017 21:39:32 -0700 (PDT) Received: from lynnl.wit ([112.64.217.90]) by smtp.gmail.com with ESMTPSA id z6sm9028890pff.46.2017.07.01.21.39.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Jul 2017 21:39:31 -0700 (PDT) Date: Sun, 2 Jul 2017 12:39:24 +0800 From: Lynn Lei 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: fixed a assignment typo Message-ID: <20170702043924.GA6794@lynnl.wit> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) 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 Fixed a typo issue in get_mxclk_freq(). Signed-off-by: Lynn Lei --- drivers/staging/sm750fb/ddk750_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index 5e4bfb601cea..c51761221131 100644 --- a/drivers/staging/sm750fb/ddk750_chip.c +++ b/drivers/staging/sm750fb/ddk750_chip.c @@ -40,7 +40,7 @@ static unsigned int get_mxclk_freq(void) pll_reg = peek32(MXCLK_PLL_CTRL); M = (pll_reg & PLL_CTRL_M_MASK) >> PLL_CTRL_M_SHIFT; - N = (pll_reg & PLL_CTRL_N_MASK) >> PLL_CTRL_M_SHIFT; + N = (pll_reg & PLL_CTRL_N_MASK) >> PLL_CTRL_N_SHIFT; OD = (pll_reg & PLL_CTRL_OD_MASK) >> PLL_CTRL_OD_SHIFT; POD = (pll_reg & PLL_CTRL_POD_MASK) >> PLL_CTRL_POD_SHIFT;