Patch "power: supply: rk817: Add missing module alias" has been added to the 6.1-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    power: supply: rk817: Add missing module alias

to the 6.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     power-supply-rk817-add-missing-module-alias.patch
and it can be found in the queue-6.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From cbcdfbf5a6cd66e47e5ee5d49c4c5a27a07ba082 Mon Sep 17 00:00:00 2001
From: Nicolas Frattaroli <frattaroli.nicolas@xxxxxxxxx>
Date: Mon, 12 Jun 2023 16:36:52 +0200
Subject: power: supply: rk817: Add missing module alias

From: Nicolas Frattaroli <frattaroli.nicolas@xxxxxxxxx>

commit cbcdfbf5a6cd66e47e5ee5d49c4c5a27a07ba082 upstream.

Similar to the rk817 codec alias that was missing, the rk817 charger
driver is missing a module alias as well. This absence prevents the
driver from autoprobing on OF systems when it is built as a module.

Add the right MODULE_ALIAS to fix this.

Fixes: 11cb8da0189b ("power: supply: Add charger driver for Rockchip RK817")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@xxxxxxxxx>
Reviewed-by: Chris Morgan <macromorgan@xxxxxxxxxxx>
Link: https://lore.kernel.org/r/20230612143651.959646-2-frattaroli.nicolas@xxxxxxxxx
Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/power/supply/rk817_charger.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/power/supply/rk817_charger.c
+++ b/drivers/power/supply/rk817_charger.c
@@ -1233,3 +1233,4 @@ MODULE_DESCRIPTION("Battery power supply
 MODULE_AUTHOR("Maya Matuszczyk <maccraft123mc@xxxxxxxxx>");
 MODULE_AUTHOR("Chris Morgan <macromorgan@xxxxxxxxxxx>");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:rk817-charger");


Patches currently in stable-queue which might be from frattaroli.nicolas@xxxxxxxxx are

queue-6.1/power-supply-rk817-add-missing-module-alias.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux