From mboxrd@z Thu Jan 1 00:00:00 1970 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 2FAED17B515; Fri, 27 Sep 2024 12:28:51 +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=1727440131; cv=none; b=b3xAtZthvnd7I/1VMot5jEqIO2ICQiwH7+XPsMFYPTjZqeuj+U4xIEu3TOzqRwowlbEQvxYjQ41tpyl1cMlaq5usoWcOD4rv1XtHgaa7C6A6DuXJtEqmr7Ewpe1bq2iwC1DJs3bT80Mzk7j9BNWzZA85DC8JD6zJoj98sLYSu/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440131; c=relaxed/simple; bh=cr6/K5W3yTFs07cfLNXiql7lb4G6sheLYZ6Q3R4YPFU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AEzR9PAvfrQhspegra3GHQ5uiVGg2ImOg6hvaECTXvDYIRCVWoJ944ixOo/tq8q5IbA+jgAg9RpvfJ16shneAMN9GnGfKPBs2qGXT3IDPsSdBx0NsQ8ouanqBdUJi6YcLm9QAzwlS1xxPkMVsQdzGmDudXpzBaLJJq0Bc+2rfDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JqdwuUPY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="JqdwuUPY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2037C4CEC4; Fri, 27 Sep 2024 12:28:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440131; bh=cr6/K5W3yTFs07cfLNXiql7lb4G6sheLYZ6Q3R4YPFU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JqdwuUPYNK6L4+tvsXux8zvvH8lG9lvx+1j6ArWIiKAf9X9KLxpsI8A/ppeWkSxNn aCmVStvLlnKag/HkPJlluK4hpiYMDzwbNYLFq0Nl74oRX9YGpMKk2RJBO++RGou5Ke MevINptMO6jP7gokpS2ZU+bpcaQxzjFVsAohsn1I= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geert Uytterhoeven , Mark Brown , Sasha Levin Subject: [PATCH 6.10 43/58] spi: spidev: Add missing spi_device_id for jg10309-01 Date: Fri, 27 Sep 2024 14:23:45 +0200 Message-ID: <20240927121720.525891249@linuxfoundation.org> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20240927121718.789211866@linuxfoundation.org> References: <20240927121718.789211866@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Geert Uytterhoeven [ Upstream commit 5478a4f7b94414def7b56d2f18bc2ed9b0f3f1f2 ] When the of_device_id entry for "elgin,jg10309-01" was added, the corresponding spi_device_id was forgotten, causing a warning message during boot-up: SPI driver spidev has no spi_device_id for elgin,jg10309-01 Fix module autoloading and shut up the warning by adding the missing entry. Fixes: 5f3eee1eef5d0edd ("spi: spidev: Add an entry for elgin,jg10309-01") Signed-off-by: Geert Uytterhoeven Link: https://patch.msgid.link/54bbb9d8a8db7e52d13e266f2d4a9bcd8b42a98a.1725366625.git.geert+renesas@glider.be Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 14bf0fa65befe..face93a9cf203 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -702,6 +702,7 @@ static const struct class spidev_class = { static const struct spi_device_id spidev_spi_ids[] = { { .name = "bh2228fv" }, { .name = "dh2228fv" }, + { .name = "jg10309-01" }, { .name = "ltc2488" }, { .name = "sx1301" }, { .name = "bk4" }, -- 2.43.0