From patchwork Tue Apr 30 12:55:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda X-Patchwork-Id: 13648984 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93B2BC4345F for ; Tue, 30 Apr 2024 12:56:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/r/Bit6jPezb6wEYICFztMO0vJGQTR2Q3q3YfKfvaQg=; b=MBywC5kgeXOWYx sBflOeFV/MDkLoxJgHMj+87kqhCk3K3Hg/IVpW+b5WARovTwOUk3K9lhkKyMYrae9seT3JSTqtGml ksn8h6wn46F4A6m2gA/SP5sVbkvQbc7zQFTrRajsCi2gvQhqydyWeHR99pDA3oMvSqAQ74h2BOAi4 +Sy9I16pAw0rjpmnde6PseVXs0kA5W+MlUqTo0NZIcJIpfZgzFkD3E3q7qqK8xjskqkq9Mju+AYjj Ki/f360MYGFFQrzdewjosbTZDQY6WA0agGeG/yOZ4vobBHuC3U6x2sQpepx7vIvo4auqIySeHktrs bBX3sPhCv5zcDAlcfUmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1n1T-00000006OxK-2C12; Tue, 30 Apr 2024 12:55:51 +0000 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1n1P-00000006Ouo-3bPR for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 12:55:49 +0000 Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6ee35146ac5so1054992a34.0 for ; Tue, 30 Apr 2024 05:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714481745; x=1715086545; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=CgeBm0XdaNuxr8uEfhJTx7AIAXMg8xhP5MTh7KQNKBI=; b=N8eNOCyHV5sQLGnXC9pTVLtMBn9jErwxFM1tHyC4+Jjzg5msbWU9GUqg64oA/xHMdG XV7WfI+M6ioH1m+xv7AlCqMxK3f6QfhVhBqRb7Lmq79JbRWhfEch76gO5YjKdQqhiYhc bCPoHX2pBMcIlpTiTPI9hYhR9bi/G5MM3Ycak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714481745; x=1715086545; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CgeBm0XdaNuxr8uEfhJTx7AIAXMg8xhP5MTh7KQNKBI=; b=vdyO3w5ei8K9j20TuRx3h4OX549hogAWaJf/q2UhUmCHrfpimEHLrSJ9SkNKFWkk8u ZIWYPWmH0dUS+sRC8wJK3DqjHDP+uuu+13KHkn0aXZ6Sn0qG6MtK0A4t80QoQ3jhhxXt +gzJsYndUOKICrsDJeimkex6wxWFtdSBwf87fvL9N59VK136RJmngj6quCOsVih/Byr3 FbojLq1Lp2Ti+FLP25IQ4yez+lpolD/LOvtImYwR+fKc/STGlRMon8ZBsRPeFjgqQR49 zpTK9ZyL0MjMRUoevhMiL/lkLoKSqtPTTA1n6IVqEcMPmlDvatbekA65ICWio+hyl9q/ LYZA== X-Forwarded-Encrypted: i=1; AJvYcCXoSaWtbhOcNb3IA3p9uIX7+ZtdGccGT1FtZ6ZI41lMoZ74xdM2k6PYGqVvs/5YXqVldcnO8qPq6dRCKjMyVlK11dcVvBWc9HHk5ihSva8Q7uAa6q0= X-Gm-Message-State: AOJu0YyQN9PwYQESGx4GWqaIqAcKPG7AzYEd/Yli9DTG0b7qaIUN493S 6a8CxsGxhEMcu2O5YqBFwsxqSi0mG/nJuOKbAbt5/gbKk07J+gdTXTLWUnoHbg== X-Google-Smtp-Source: AGHT+IHK+UkEoJUcRYPQc5IQrFxF4JRM1NST0KtJqc0AbuUvxkd2lOUWQ9hQXkwgdZ+rMSMra/Xocg== X-Received: by 2002:a05:6830:a4e:b0:6ed:e67b:8699 with SMTP id g14-20020a0568300a4e00b006ede67b8699mr9740879otu.18.1714481745272; Tue, 30 Apr 2024 05:55:45 -0700 (PDT) Received: from denia.c.googlers.com (114.152.245.35.bc.googleusercontent.com. [35.245.152.114]) by smtp.gmail.com with ESMTPSA id o16-20020a05620a111000b00790f90ffc32sm1553667qkk.22.2024.04.30.05.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 05:55:44 -0700 (PDT) From: Ricardo Ribalda Subject: [PATCH 0/4] media: Fix compilations with !ACPI !PM and !OF Date: Tue, 30 Apr 2024 12:55:32 +0000 Message-Id: <20240430-fix-ipu6-v1-0-9b31fbbce6e4@chromium.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAETqMGYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDE2MD3bTMCt3MglIzXQuTFJMUU1NDUxNTIyWg8oKiVKAc2Kjo2NpaAFD 7SptaAAAA To: Mauro Carvalho Chehab , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Sakari Ailus , Bingbu Cao , Tianshu Qiu Cc: linux-media@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hans Verkuil , Ricardo Ribalda X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_055547_984820_2BAE4EA2 X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The current media-stating has some errors when configurations are missing. Fix that. Signed-off-by: Ricardo Ribalda --- Ricardo Ribalda (4): media: bcm2835-unicam: Fix build with !PM media: intel/ipu6: Switch to RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS media: intel/ipu6: Fix direct dependency Kconfig error media: intel/ipu6: Fix build with !ACPI drivers/media/pci/intel/Kconfig | 3 +- drivers/media/pci/intel/ipu-bridge.c | 66 +++++++++++++++++------- drivers/media/pci/intel/ipu6/ipu6.c | 6 +-- drivers/media/platform/broadcom/bcm2835-unicam.c | 2 +- 4 files changed, 53 insertions(+), 24 deletions(-) --- base-commit: 1c73d0b29d04bf4082e7beb6a508895e118ee30d change-id: 20240430-fix-ipu6-84d4d5515452 Best regards,