From patchwork Mon Nov 27 14:37:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 13469736 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DBHjoG9y" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BA16EA for ; Mon, 27 Nov 2023 06:37:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701095866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=aW0YOCJul7xs+/KZ1mmsyul1gC4BX9IvFOK2PTRgq/Y=; b=DBHjoG9yPMtbdESVFiqPsBM98eoDx+UznDRu3AUz8gKzlV0amnv7xUl9QfoZJxihLOfGX3 eCX3MUtadj0crPBAdvnHUipHdOekVmNHgenDzdiXCJpU5F1PdrZ6LkFWbjbqdOA/1JTFsn C9BW6JQSXnJxdty58IVdlQvz9zCz1KI= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-470-Jfv4_HhmML6oIfViXM4COw-1; Mon, 27 Nov 2023 09:37:43 -0500 X-MC-Unique: Jfv4_HhmML6oIfViXM4COw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 095A288D016; Mon, 27 Nov 2023 14:37:43 +0000 (UTC) Received: from x1.localdomain.com (unknown [10.39.192.45]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2711F20268D2; Mon, 27 Nov 2023 14:37:42 +0000 (UTC) From: Hans de Goede To: "Rafael J . Wysocki" , Michal Wilczynski Cc: Hans de Goede , Jani Nikula , linux-acpi@vger.kernel.org Subject: [6.6 regression-fix 0/1] ACPI: video: Use acpi_video_device for cooling-dev driver data Date: Mon, 27 Nov 2023 15:37:40 +0100 Message-ID: <20231127143741.5229-1-hdegoede@redhat.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 Hi Rafael, Here is a fix for a regression in 6.6 caused by: 0d16710146a1 ("ACPI: bus: Set driver_data to NULL every time .add() fails") the root cause here is the acpi_video.c code abusing the driver_data of a device for which it is not the driver, this fix addresses the root cause. This issue is being tracked here: https://gitlab.freedesktop.org/drm/intel/-/issues/9718 Regards, Hans Hans de Goede (1): ACPI: video: Use acpi_video_device for cooling-dev driver data drivers/acpi/acpi_video.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)