From patchwork Sat Jul 1 05:23:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 114965 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp10851451vqr; Fri, 30 Jun 2023 22:58:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlFrFXiNHYT2ZLCUIJTEZPxODPQS56b+InLxOEsdhWkfqg2r5CSdCgag1V12vyGWRryGF/eF X-Received: by 2002:a17:902:da92:b0:1b8:4e00:96b with SMTP id j18-20020a170902da9200b001b84e00096bmr5486616plx.9.1688191083916; Fri, 30 Jun 2023 22:58:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688191083; cv=none; d=google.com; s=arc-20160816; b=wpoFrOw0weBXoB6reCTI5/e+QZxj7Z8HXEsgVWqhsGySCl7haQiGoHxS2Qa/u90igs TdeUbLFugmTwW4mAyFR83LqpaJcZbSmjBWwUf85mH4z5LX2UTVcogCSPVdGhzhLD0OuC kzA8qME6ecerdud2sMkCvF844M3VU45YkC/HaalMWy+yQuiFWoLjAnOE+aXaFDUw/bhE vIY9MC678X3TwCgn/NK+b2985zD7p2EYrKwwX3lh3akwbYuZ47dWzDFgWD5a9IbXVSUN AYnDmpeYi2Ax4lmwVEGJNUnfKShsqZxamTW0fF3rxjiommjKFj1yisJy7dPnJdIrVne9 ygDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1kfkyBbEKK9syFELZldrmIs3ddT+2K6uKGsn6AiWLI8=; fh=Zsp39Vxt9PstVhk7QInkAUu1CRC5ap+cYJbh3ZvBTtM=; b=Kd7M+XJCk388tNJ0IqQKay5tbihmNISPe8OH3OYDQvcf9WqGxkIbymjy/7ICPPZ3xG dWP9s1/KNgGD5viAty+ZqNvQBNRUiYiIc2SnB4tstZ13T1ahyz0djQ0zuI579fJIsmth 1bWhTAsG7VWdFMYX/XkoqRNBaWakR/iOUz2UdLI7c5ffmWjj7Ti9gRW0A91+Kvlquyrz /RyeWMeDdDLndxRjNtl6dRdQtfpVP4RwIA6Z2gngA+BTZFNAaYnliyN6CY7r526AtGUv Gff0AsxtNwO6BL6T0YbknAMABehE6nM0NlK5+l/gfdF9g5vWHUqSyFBLuzq1gBh9Qnyf vUKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=OZN9vWVv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u2-20020a170902e5c200b0019ccffb3fd3si14524724plf.509.2023.06.30.22.57.50; Fri, 30 Jun 2023 22:58:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=OZN9vWVv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229534AbjGAFYA (ORCPT + 99 others); Sat, 1 Jul 2023 01:24:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjGAFXz (ORCPT ); Sat, 1 Jul 2023 01:23:55 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14174E65; Fri, 30 Jun 2023 22:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=1kfkyBbEKK9syFELZldrmIs3ddT+2K6uKGsn6AiWLI8=; b=OZN9vWVvk5hzGFEn8l117P6d86 9BIesJUnwC+d+y77cqvkGXGjW4B6/S/INrSc9xtP+AdxLnf/kmrT1SBqcWKBD+cfWQgxuocMi5PQF QK6VnyT/6aHVE3MVDIwXMgJYzdShwPha+umgEIugRfpc8sPLvlPYp5L0GZDtStl+hZdAsgI9OGkf4 KDeOCOGrI767RY/L72S65jzRoiMK7+aH4jT4VqT8OAz1y1D5vcqYcLT+MbXZ7sT5N1hCqqEafQWp4 d6WWykAsaAWFEyAK2PNd1nlDBaDp+zJHodfu05n2AIOo2+rgZSNCSE5dcrN1/ShzZodnUlgBLLTS9 ziceeEJA==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qFT5J-005CWM-1C; Sat, 01 Jul 2023 05:23:49 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Stanley Chu , Peter Wang , Paul Gazzillo , Necip Fazil Yildiran , linux-scsi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, "James E.J. Bottomley" , "Martin K. Petersen" Subject: [PATCH RESEND] scsi: ufs-mediatek: add dependency for RESET_CONTROLLER Date: Fri, 30 Jun 2023 22:23:48 -0700 Message-ID: <20230701052348.28046-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770196653899478632?= X-GMAIL-MSGID: =?utf-8?q?1770196653899478632?= When RESET_CONTROLLER is not set, kconfig complains about missing dependencies for RESET_TI_SYSCON, so add the missing dependency just as is done above for SCSI_UFS_QCOM. Silences this kconfig warning: WARNING: unmet direct dependencies detected for RESET_TI_SYSCON Depends on [n]: RESET_CONTROLLER [=n] && HAS_IOMEM [=y] Selected by [m]: - SCSI_UFS_MEDIATEK [=m] && SCSI_UFSHCD [=y] && SCSI_UFSHCD_PLATFORM [=y] && ARCH_MEDIATEK [=y] Fixes: de48898d0cb6 ("scsi: ufs-mediatek: Create reset control device_link") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Link: lore.kernel.org/r/202306020859.1wHg9AaT-lkp@intel.com Cc: Stanley Chu Cc: Peter Wang Cc: Paul Gazzillo Cc: Necip Fazil Yildiran Cc: linux-scsi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" --- drivers/ufs/host/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -- a/drivers/ufs/host/Kconfig b/drivers/ufs/host/Kconfig --- a/drivers/ufs/host/Kconfig +++ b/drivers/ufs/host/Kconfig @@ -72,6 +72,7 @@ config SCSI_UFS_QCOM config SCSI_UFS_MEDIATEK tristate "Mediatek specific hooks to UFS controller platform driver" depends on SCSI_UFSHCD_PLATFORM && ARCH_MEDIATEK + depends on RESET_CONTROLLER select PHY_MTK_UFS select RESET_TI_SYSCON help