Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1625998rdb; Tue, 20 Feb 2024 01:50:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxdjT5QH7XjGyCTYiuhS2bvyARsZlvrkj3V/WIPzCoVweEaozEv1i0zD2CYxiAWqu4plGV37O8dXIIFXS5AMp4hXWNLKMO/u6xwp67zg== X-Google-Smtp-Source: AGHT+IH7x3qzGj46lZzz3rMQi7JxJBr0A4bX8MmcuJMH0SydPiT4MHhe19o33arqoD1uorf2bknu X-Received: by 2002:a05:6402:3d9:b0:564:6bf1:e804 with SMTP id t25-20020a05640203d900b005646bf1e804mr3582022edw.42.1708422621054; Tue, 20 Feb 2024 01:50:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708422621; cv=pass; d=google.com; s=arc-20160816; b=piTtUfkrIMiBs/pNM9Dn5NiYe5oUE9hgEzQ7Ykip9bLLs6HHGmf9rqMBL8EdIXZMN2 KkPEe9g+uKJc7yZuc9kZmNfOoPVBXISKSOyyYFKXtwnFxrn9kN+eN6JCjlKbhAh5vsrU c47GHPVgLfpE6TbR7Vek4eVF6Jt8jKDqRlPB7DdTWpJ1l77nXcgndUt5KvMuCi5sFxxG ENvE0CJCXoXZKweOR1Fk5B+o+FTcRo+iJJnuPeqJoRSIMCJFqJBkKtfIA7Hr2XWDNIa1 5m4fRi2fsYbcD0r3ofS+weA8oLOXFqNsHYoIHiKlWlE+cbaSu3te42QXHap9zVjkWWR0 I22w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8WKwAx8158d9hbBmFFwjk7Z+vLX7ZKelPlA7faRfUQ0=; fh=/cAvgwME2eOirL4KNPaTeXNgPCcXHVmkdPl/7K8ONqM=; b=w186iCVE+VrfwxOsQvx7GQIIbM4Pdw7tEJUpy54rdqsH89toNlZNm0u6O8p3c5FheD ufUVkONenK2SsJdBOJAnu4igoiVtwnCrRUBtHWz5ITfaRrN6MuuSzgSwiWFJaRyxGuSH VcI//FAE/gJ/Q1swclm0Tnom/xlH/W3Uuh53jVASqQRI1e4FLO2zkYHmXhEMkoOGFVq3 ahLC9jggItTVHCrTy2i2/Ev1WEpdwKTDk/M9VHmzZ+OSq9YY1WSW1cUvi7icAamwei9H SzsaTtckbOUDtk38yfylmKkdiTywd6MA/0CVhOd7G3Vn2Kn2ErqymlLwI61qbTNHaQYX aGAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P1Dcw7t4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c14-20020a056402120e00b005646cf6e4e6si1862083edw.99.2024.02.20.01.50.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:50:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P1Dcw7t4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-72734-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C5DB91F21C13 for ; Tue, 20 Feb 2024 09:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D8C56166B; Tue, 20 Feb 2024 09:46:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P1Dcw7t4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 595B367A11; Tue, 20 Feb 2024 09:46:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708422389; cv=none; b=r46+PzR4OVNj5JSmOYamGAx4ui/Q/NjAj71N5RTtArb5OosDoMp05D0Vkp0UI/+nNym7CaR6EHVFYiqz9Pao1dyrWXfMl7paWCt1NzrJ14tK36zy+EhQkBklZDkZIgSM998LHcpuu8F5xfCft/ng4j7/1e+g/T3g9S3QILwblmE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708422389; c=relaxed/simple; bh=Ns5oGXdY8TXaX6JZCp10MJ9vOoAFV3yNi3j03gOThGE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fiAXmYn9UTYc0JNEEeKseGd46P6qYuiPG1tXdhb0RzpIdBfBjIr5FXUrd5wF/EdRHlixM6kcW84wcvbTJ1CMywr1VWHX9lQijbjq74gt+kA8GTQND1FVP9zos8yCCaftgQfw/27uNjy7Eym5VIMcMAxisnrr4b9l7IPtZDpARZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P1Dcw7t4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1FA7C433C7; Tue, 20 Feb 2024 09:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708422389; bh=Ns5oGXdY8TXaX6JZCp10MJ9vOoAFV3yNi3j03gOThGE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P1Dcw7t4kNIfM5xkQOU1U7UALwSd/pcfK2yGTigKVLaqUsV+Y21+djLFUFiOgCmFy y0Jnmmk4+y+q8DI/8Lz+XV2j8X/MfA4R5f8ZASu1wu5aQbXrd/LQxHs+bIUzbeyUZh JHC+o34NWlCjUZf0+QKWZGZWkEg7+CrmHORFdzCdyeR77NN69TcPYSHZF5AOsm30Kr cwlBFCZIMXus1wch9pE7RsFYW+Mmvid6VLiV8dJK1Nt+2LpQIZ9GQNWZOyet1dF2Uh EbyBq7BoeZPw+snyQljVeM8MFK6YkVw+iEQRBPp0/jNSZq6lV+0GW8vdcsMdNiNRSN PnS0lOPXyXtTQ== Received: from mchehab by mail.kernel.org with local (Exim 4.97.1) (envelope-from ) id 1rcMhm-000000031Qv-2rQk; Tue, 20 Feb 2024 10:46:26 +0100 From: Mauro Carvalho Chehab To: Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH 2/2] em28xx-dvb: fix DVB adapter device name Date: Tue, 20 Feb 2024 10:46:02 +0100 Message-ID: <973f454413c31ba5b6464c289ee24b01465abaff.1708422122.git.mchehab@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This will be used for uevent, so it needs to be filled with the device name, and not with it's parent ID. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/em28xx/em28xx-dvb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index 9fce59979e3b..759c04fbd8cf 100644 --- a/drivers/media/usb/em28xx/em28xx-dvb.c +++ b/drivers/media/usb/em28xx/em28xx-dvb.c @@ -980,7 +980,7 @@ static int em28xx_register_dvb(struct em28xx_dvb *dvb, struct module *module, /* register adapter */ result = dvb_register_adapter(&dvb->adapter, - dev_name(&dev->intf->dev), module, + em28xx_boards[dev->model].name, module, device, adapter_nr); if (result < 0) { dev_warn(&dev->intf->dev, -- 2.43.0