From patchwork Thu Apr 18 19:13:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Sousa X-Patchwork-Id: 10907891 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E959F1390 for ; Thu, 18 Apr 2019 19:20:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D391D28BFE for ; Thu, 18 Apr 2019 19:20:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D035528C08; Thu, 18 Apr 2019 19:20:54 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 5AC7A28C0D for ; Thu, 18 Apr 2019 19:20:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389442AbfDRTUx (ORCPT ); Thu, 18 Apr 2019 15:20:53 -0400 Received: from dc2-smtprelay2.synopsys.com ([198.182.61.142]:46868 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729641AbfDRTUx (ORCPT ); Thu, 18 Apr 2019 15:20:53 -0400 X-Greylist: delayed 419 seconds by postgrey-1.27 at vger.kernel.org; Thu, 18 Apr 2019 15:20:53 EDT Received: from mailhost.synopsys.com (dc2-mailhost2.synopsys.com [10.12.135.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 0CABFC0B24; Thu, 18 Apr 2019 19:13:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1555614833; bh=7hK/Ns/LDousvLj95BVYysDFqTA99sBqrOzGgvAnBZ4=; h=From:To:Cc:Subject:Date:From; b=DqPIgsGKw7jHncMrqZJjb4bMeJmHwoOF9ZG6coib9BZnnz4PGU9RHqxQJ0BF0/4qy guARaOPzyvqpsI6fY4PDyoJ4j2mgf90GVfQLE+YVC0etJ43v5V0MYdAL3EkKDXj6Oe cV7EOLNAgXIV+zZr7d4PAImpqIEmqDaWlkh9glYTr6tzTgkI8aKnAPaCqnIKZai/5b iG9m2HAKs3AKYYduR217szn0PF9DB51BI6thC8iWVYkXj3h9SoiSl4TM7PRgrg7CpC L1ieuMR9L74EVnqHY20uvwkKNbGMXett2RQWyIWDXt5NzwIorW4Xrje3HAKgwYxPdy cuyuOf703ZPcA== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 44D70A00A3; Thu, 18 Apr 2019 19:13:53 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id 39A4A3E98D; Thu, 18 Apr 2019 21:13:52 +0200 (CEST) From: Pedro Sousa To: alim.akhtar@samsung.com, avri.altman@wdc.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, stable@vger.kernel.org, Pedro Sousa Subject: [PATCH] scsi: ufs: Fix RX_TERMINATION_FORCE_ENABLE define value Date: Thu, 18 Apr 2019 21:13:34 +0200 Message-Id: <87405e9b14c6eb01b395f01eac4ab085e8020ff7.1555614814.git.sousa@synopsys.com> X-Mailer: git-send-email 2.7.4 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix RX_TERMINATION_FORCE_ENABLE define value from 0x0089 to 0x00A9 according to MIPI Alliance MPHY specification. Fixes: e785060ea3a1 ("ufs: definitions for phy interface") Cc: stable@vger.kernel.org Signed-off-by: Pedro Sousa --- drivers/scsi/ufs/unipro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h index 23129d7..c77e365 100644 --- a/drivers/scsi/ufs/unipro.h +++ b/drivers/scsi/ufs/unipro.h @@ -52,7 +52,7 @@ #define RX_HS_UNTERMINATED_ENABLE 0x00A6 #define RX_ENTER_HIBERN8 0x00A7 #define RX_BYPASS_8B10B_ENABLE 0x00A8 -#define RX_TERMINATION_FORCE_ENABLE 0x0089 +#define RX_TERMINATION_FORCE_ENABLE 0x00A9 #define RX_MIN_ACTIVATETIME_CAPABILITY 0x008F #define RX_HIBERN8TIME_CAPABILITY 0x0092 #define RX_REFCLKFREQ 0x00EB