From patchwork Mon Sep 23 04:00:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinjie Ruan X-Patchwork-Id: 830319 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD7003FE4; Mon, 23 Sep 2024 03:50:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.190 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727063423; cv=none; b=LYr9ShCJznee6Ra2hwlRjMQ9k67XRqZgMLFs2kPyk9+yqtJZbjTjeV9RpGob7BfuCnICmjDz82ZpyE2CaJuHHJqw89+yf+dp6uNa7c8hTOrUiQw1zdarQOcSBT2H1XHuhFsgMcYNeVUbgptcj3FRbvKnVkubwM3cZ3i4/LR1m9g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727063423; c=relaxed/simple; bh=wgow8dZQUl9IVhTZyaZQEeQ275kA+8KwqwszuahwwFI=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ne6oD/887RDhbOJ5rSdRAnqxt6XxLpacsTlxiBEUBudCluY5LuzZfWJh9X9DqERj9RhbedQ5/QxbGMVt/V/+dX3s3osa6plZBIRBXREn6mzk5w8Tu017ClH/64/71YInCGi5ilW8y9s3oMUnJ4/kRg4IiKTdGdgU5Uaqs9oiVfM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.190 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4XBps95ghdz2DcPq; Mon, 23 Sep 2024 11:49:33 +0800 (CST) Received: from kwepemh500013.china.huawei.com (unknown [7.202.181.146]) by mail.maildlp.com (Postfix) with ESMTPS id 3066E1400E8; Mon, 23 Sep 2024 11:50:18 +0800 (CST) Received: from huawei.com (10.90.53.73) by kwepemh500013.china.huawei.com (7.202.181.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 23 Sep 2024 11:50:17 +0800 From: Jinjie Ruan To: , , , , , , , , , , CC: Subject: [PATCH 0/3] spi: Fix pm_runtime_set_suspended() with runtime pm enabled Date: Mon, 23 Sep 2024 12:00:12 +0800 Message-ID: <20240923040015.3009329-1-ruanjinjie@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemh500013.china.huawei.com (7.202.181.146) Fix pm_runtime_set_suspended() with runtime pm enabled, and fix the missing check for spi-cadence. Jinjie Ruan (3): spi: spi-imx: Fix pm_runtime_set_suspended() with runtime pm enabled spi: spi-cadence: Fix pm_runtime_set_suspended() with runtime pm enabled spi: spi-cadence: Fix missing spi_controller_is_target() check drivers/spi/spi-cadence.c | 8 +++++--- drivers/spi/spi-imx.c | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-)