Message ID | 20200720152831.496783573@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2115743ilg; Mon, 20 Jul 2020 09:10:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGTG7EFg6Xq81zAszOJ1SyXWdK0e0ysaMLXvOHW4L4oaFV7zo/IovlIAgwEUr6NSTGUnqV X-Received: by 2002:a50:8143:: with SMTP id 61mr22468301edc.202.1595261448194; Mon, 20 Jul 2020 09:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595261448; cv=none; d=google.com; s=arc-20160816; b=BaIqNJSg+TRH38GYpsrfyx7LbarIdBEQymnJMH4lIbj0T7YJCB7ihEXUpH8X1HFn1T AV0UJO2AxRfqC120UuySYUXdqmWh6NZeISvigxLGHC1Q8f6w1ih6//QyVsl88sD6SSSD xLv1tB7IT87u4YjzO9oNJ7LjovJGLdsK3PcGPU4QLuKvlm63LttMUkPi1OgPV7cnpfWs fOpdihqTHwUodX7ECh4CYasBesHbJQ/lssGJTfEur4cOMQXfgqg0xWs2QHeI2OS2MR3W jMHQaNwDZ5OuYOfIv3pkjKlIQYKz0iBA51LuYzQoNwMrAKQ3SE3z+HhRA1+CCWfAQ7T8 6eJw== 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=PJPnmmg0Yr3Syntl2Cl/AN+vVq1tUnq7Xqs3FefKaC0=; b=JYsaIIRR+qPc2Yb1FOuVMXvJGxK0CX7Pa3mVB9fDKASIWlpIZV+T39Z66T0uGCGhoZ hPM2wk+n/j4XIilzezO7bbimeMyg1B4HQjBw3luPXArNPxeijIx3pIEzikzift2fM21z SM4jOn71fhDtDfCaBFbsWF0vu3LuS8KUbM0mnRb+zw81ei7CwaTtuyeKFO3oe05vjXWA Pv7WC6e1oZeLcLAcVcA1SR1WSUdveZtNGPxFUYpsYyGjmXJm6yVSVoOwEbZ5kSOh6CGa 7OP8Jn/wKTHJEX2R6puq8BFUAsASVAHUvuihFj5vz0OjnGy1guGddjBRvEu412MO6uf2 WyDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KEHlGyYF; 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 dg12si10606898edb.81.2020.07.20.09.10.47; Mon, 20 Jul 2020 09:10:48 -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=KEHlGyYF; 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 S2387685AbgGTQKp (ORCPT <rfc822;semen.protsenko@linaro.org> + 15 others); Mon, 20 Jul 2020 12:10:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:49458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732796AbgGTQKp (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 20 Jul 2020 12:10:45 -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 7649220684; Mon, 20 Jul 2020 16:10:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595261445; bh=KRSfA+jnKhFwQqzGs3zFZ+9Ar3w5EbuRb+RO9Dsmcpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KEHlGyYFVtR6sQia6c4NvFLnAnBVO4hyqlgBfF3AdCT6LJiWMZOk5Po0WbIox2LJy yMW5nVsiEgWMpVHPPjOwr4t/KivOItSEOxUCtOsgmF4cjFQiyFqhbXwIpXOQOFH3gD 0hk3dtFFYIPZ6D5UgUmFGfk7QUQIptR/7e6AXx0g= 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.7 119/244] soc: qcom: socinfo: add missing soc_id sysfs entry Date: Mon, 20 Jul 2020 17:36:30 +0200 Message-Id: <20200720152831.496783573@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200720152825.863040590@linuxfoundation.org> References: <20200720152825.863040590@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 @@ -430,6 +430,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)));