Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4ED0CC2D0E8 for ; Thu, 26 Mar 2020 14:52:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 25B6320838 for ; Thu, 26 Mar 2020 14:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585234320; bh=/J7llYzzEMbUOQO8vRFtdYLziGm8DMI5izpvAaVhUqI=; h=Subject:To:From:Date:List-ID:From; b=TomUi6Khk1bOHp1o3V9+sdSi8uRUj5Btefgd9gUgw0IMwm2VqNXSmqBz9XAFqLK1i fWbeFRJDp0GyNP1wLGDE4mmFpWFan23oZdhJDI8HSoYZYnTQ3fDXVs9TiDTwqlN5Y9 V5MUdVGsII+eX++wCCr9JTMngRnpKPFX2PqOyw7M= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728365AbgCZOv5 (ORCPT ); Thu, 26 Mar 2020 10:51:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:54390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728353AbgCZOv5 (ORCPT ); Thu, 26 Mar 2020 10:51:57 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 46A7F20775; Thu, 26 Mar 2020 14:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585234315; bh=/J7llYzzEMbUOQO8vRFtdYLziGm8DMI5izpvAaVhUqI=; h=Subject:To:From:Date:From; b=JGAFqvAp90SxGDMiKUVuuEFU2PbPbKy0ZytyWDvsDQmACzu6TM2quEuBWfEa1xBiE hDh1OEHj3l8++tEcdMYDUEX5S5pbsDVG9TYs7WcgkxdFGQcX1fKLOIz0+zlxz8/QLx hLnex6u5RXy4op9Y5OyPFskIhpqCKEajuMMLkTcU= Subject: patch "misc: rtsx: set correct pcr_ops for rts522A" added to char-misc-testing To: yuehaibing@huawei.com, gregkh@linuxfoundation.org, stable@vger.kernel.org From: Date: Thu, 26 Mar 2020 15:51:53 +0100 Message-ID: <1585234313125195@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This is a note to let you know that I've just added the patch titled misc: rtsx: set correct pcr_ops for rts522A to my char-misc git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git in the char-misc-testing branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will be merged to the char-misc-next branch sometime soon, after it passes testing, and the merge window is open. If you have any questions about this process, please let me know. From 10cea23b6aae15e8324f4101d785687f2c514fe5 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Thu, 26 Mar 2020 11:26:18 +0800 Subject: misc: rtsx: set correct pcr_ops for rts522A rts522a should use rts522a_pcr_ops, which is diffrent with rts5227 in phy/hw init setting. Fixes: ce6a5acc9387 ("mfd: rtsx: Add support for rts522A") Signed-off-by: YueHaibing Cc: stable Link: https://lore.kernel.org/r/20200326032618.20472-1-yuehaibing@huawei.com Signed-off-by: Greg Kroah-Hartman --- drivers/misc/cardreader/rts5227.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/cardreader/rts5227.c b/drivers/misc/cardreader/rts5227.c index 423fecc19fc4..3a9467aaa435 100644 --- a/drivers/misc/cardreader/rts5227.c +++ b/drivers/misc/cardreader/rts5227.c @@ -394,6 +394,7 @@ static const struct pcr_ops rts522a_pcr_ops = { void rts522a_init_params(struct rtsx_pcr *pcr) { rts5227_init_params(pcr); + pcr->ops = &rts522a_pcr_ops; pcr->tx_initial_phase = SET_CLOCK_PHASE(20, 20, 11); pcr->reg_pm_ctrl3 = RTS522A_PM_CTRL3; -- 2.26.0