Message ID | 20200720152825.957684716@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2106420ilg; Mon, 20 Jul 2020 09:01:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk4D7e0YwJ+32AKeoT1bUz6sUDFUa2ngF5pgF1hLz/FOiKndkyEN4DvMH5lkmQh/vLHFwk X-Received: by 2002:a50:f08c:: with SMTP id v12mr21564210edl.119.1595260862299; Mon, 20 Jul 2020 09:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595260862; cv=none; d=google.com; s=arc-20160816; b=xV/X5Jv0E5/hXpUFD6eNr+KRr8S421Py014TSYqm/ngYq8LSP42XLIwE48uRskIQjJ dMeH4AFptKkHVKir8Y5QV/8jQhHAbWLAhIMSVtaiZLpjKaUmcRrNFMMZweXlt9c+mJHM kteLOLVZllSH1XxlOy1PSCimmL+16W0yPlZU+yy8HMvahX3xnlrNXPAzf4LUuN5lkhK5 liGwraYVm39UsXSJvlzJG4LfIilJAO4Wr7W9POE7LDQ5WZPmGtwXtyJ++EYdkxcpzLni Gs7ITrOrmmL5l9jk9CNki0xDFz9JPiVxMyVF7skSbg3YcPAO74Y7QE05BCIpO6wz4UVh SCyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=N/Ns3Bw6k+Kzqqw7d/vZudUKKvsCg5YgWPZthY2uS1Q=; b=GxcgXSLhbe2vx7Derhn3FfTWsxkdWe/5XxdbRgfw43cdrSmCwHyJBWWBWjASLmSno2 dHCOOhoFsb0dHuA5qxMovCJzROQ1gmdNCNjH2zae9yccAzNmLhJ/COYA6CXiDwtqMVUy dRqzqEcRGjKqzW6gYBW2tlyP7h+m1l1NM1NWMCBNbBLfDkcBDbk39TZlkFWrkU32LVMe IBLWxDyjVvG4BL1rD56cBmM4aTHk0JZGJKI4JTO7Mc7YSiKHIvUiyhKuuD/HIF1W/xAy sanZ9JakZK7r1+oWP4WqRtgc1JM+IFbyXVvMkNqC94UgLRft9Kdw2u4Q2ItPF0FFjLkL 7OCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fV0XoJYh; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mf6si10543058ejb.660.2020.07.20.09.01.01; Mon, 20 Jul 2020 09:01:02 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fV0XoJYh; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731453AbgGTQA7 (ORCPT <rfc822;semen.protsenko@linaro.org> + 15 others); Mon, 20 Jul 2020 12:00:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:34192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731999AbgGTQA6 (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 20 Jul 2020 12:00:58 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 73C6622CF7; Mon, 20 Jul 2020 16:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595260858; bh=JNClSQQYpxj38ahF4M0o2Rn4B8uhr5eTzyuyhfw4B98=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fV0XoJYhKPldlL7gZUe/O4bM1dAZg8AWUS5K6h3PX9aJ/7nA9UgZOWiwUHs80L2Bq Hjrz+OJ58GAN1aVARZtDKeCYwR5xUMKGAN3vRRZ8MU7qR4UefSohXtqTm/c3G0f13K yUAr9DHR2gNvMc4w2k72Owpp1+8q4kcX1b0t4zwE= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Stephen Boyd <swboyd@chromium.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Bjorn Andersson <bjorn.andersson@linaro.org> Subject: [PATCH 5.4 121/215] soc: qcom: socinfo: add missing soc_id sysfs entry Date: Mon, 20 Jul 2020 17:36:43 +0200 Message-Id: <20200720152825.957684716@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200720152820.122442056@linuxfoundation.org> References: <20200720152820.122442056@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -428,6 +428,8 @@ static int qcom_socinfo_probe(struct pla qs->attr.family = "Snapdragon"; qs->attr.machine = socinfo_machine(&pdev->dev, le32_to_cpu(info->id)); + qs->attr.soc_id = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%u", + le32_to_cpu(info->id)); qs->attr.revision = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%u.%u", SOCINFO_MAJOR(le32_to_cpu(info->ver)), SOCINFO_MINOR(le32_to_cpu(info->ver)));