WSL2-Linux-Kernel/drivers/power/supply
Tzung-Bi Shih e63f071b91 power: supply: cros_usbpd: provide ID table for avoiding fallback match
[ Upstream commit 0f8678c34cbfdc63569a9b0ede1fe235ec6ec693 ]

Instead of using fallback driver name match, provide ID table[1] for the
primary match.

[1]: https://elixir.bootlin.com/linux/v6.8/source/drivers/base/platform.c#L1353

Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20240401030052.2887845-4-tzungbi@kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-05 09:14:27 +02:00
..
88pm860x_battery.c
88pm860x_charger.c
Kconfig power: supply: smb347-charger: Implement USB VBUS regulator 2021-08-16 17:57:10 +02:00
Makefile Immutable branch between regulator and power-supply for for 5.15 2021-08-13 18:50:16 +02:00
ab8500-bm.h power: supply: ab8500: Drop abx500 concept 2021-07-16 15:14:30 +02:00
ab8500-chargalg.h power: supply: ab8500: Fix an old bug 2021-06-30 00:14:55 +02:00
ab8500_bmdata.c power: supply: ab8500: Drop some includes from bmdata 2021-07-16 15:14:30 +02:00
ab8500_btemp.c power: supply: ab8500: Fix external_power_changed race 2023-06-21 15:59:12 +02:00
ab8500_chargalg.c power: ab8500_chargalg: Use CLOCK_MONOTONIC 2022-04-08 14:23:39 +02:00
ab8500_charger.c power: supply: ab8500: Fix error handling in ab8500_charger_init() 2022-12-31 13:14:32 +01:00
ab8500_fg.c power: supply: ab8500: Fix external_power_changed race 2023-06-21 15:59:12 +02:00
acer_a500_battery.c
act8945a_charger.c
adp5061.c power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type() 2022-10-26 12:35:47 +02:00
apm_power.c
axp20x_ac_power.c
axp20x_battery.c power: supply: axp20x_battery: properly report current when discharging 2022-04-13 20:59:03 +02:00
axp20x_usb_power.c
axp288_charger.c extcon: Fix extcon_get_extcon_dev() error handling 2022-06-14 18:36:21 +02:00
axp288_fuel_gauge.c power: supply: axp288_fuel_gauge: Drop BIOS version check from "T3 MRD" DMI quirk 2022-06-14 18:36:06 +02:00
bd99954-charger.c
bd99954-charger.h
bq27xxx_battery.c power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule() 2023-06-21 15:59:12 +02:00
bq27xxx_battery_hdq.c
bq27xxx_battery_i2c.c power: supply: bq27xxx-i2c: Do not free non existing IRQ 2024-03-06 14:38:48 +00:00
bq256xx_charger.c power: supply: bq256xx: fix some problem in bq256xx_hw_init 2024-01-25 14:52:50 -08:00
bq2415x_charger.c
bq2515x_charger.c
bq24190_charger.c power: supply: bq24190: Call power_supply_changed() after updating input current 2023-06-05 09:21:13 +02:00
bq24257_charger.c
bq24735-charger.c power: supply: bq24735: reorganize ChargeOption command macros 2021-08-13 18:38:17 +02:00
bq25890_charger.c power: bq25890: Enable continuous conversion for ADC at charging 2022-01-11 15:35:17 +01:00
bq25980_charger.c
bq25980_charger.h
charger-manager.c extcon: Fix extcon_get_extcon_dev() error handling 2022-06-14 18:36:21 +02:00
collie_battery.c
cpcap-battery.c power: supply: cpcap-battery: invalidate config when incompatible measurements are read 2021-06-04 14:28:31 +02:00
cpcap-charger.c power: supply: cpcap-charger: get the battery inserted infomation from cpcap-battery 2021-06-04 14:36:17 +02:00
cros_peripheral_charger.c power: supply: PCHG: Peripheral device charger 2021-07-16 15:54:34 +02:00
cros_usbpd-charger.c power: supply: cros_usbpd: provide ID table for avoiding fallback match 2024-07-05 09:14:27 +02:00
cw2015_battery.c power: supply: cw2015: correct time_to_empty units in sysfs 2024-01-25 14:52:50 -08:00
da9030_battery.c
da9052-battery.c
da9150-charger.c power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition 2023-03-30 12:47:43 +02:00
da9150-fg.c
ds2760_battery.c
ds2780_battery.c
ds2781_battery.c
ds2782_battery.c
generic-adc-battery.c power: supply: generic-adc-battery: fix unit scaling 2023-05-11 23:00:36 +09:00
goldfish_battery.c
gpio-charger.c
ingenic-battery.c
ipaq_micro_battery.c
isp1704_charger.c
lego_ev3_battery.c
lp8727_charger.c
lp8788-charger.c
lt3651-charger.c
ltc2941-battery-gauge.c
ltc4162-l-charger.c
max1721x_battery.c
max8903_charger.c
max8925_power.c
max8997_charger.c extcon: Fix extcon_get_extcon_dev() error handling 2022-06-14 18:36:21 +02:00
max8998_charger.c
max14577_charger.c
max14656_charger_detector.c
max17040_battery.c power: supply: max17040: fix null-ptr-deref in max17040_probe() 2021-11-18 19:16:52 +01:00
max17042_battery.c power: supply: max17042_battery: Clear status bits in interrupt handler 2021-11-18 19:16:08 +01:00
max77650-charger.c
max77693_charger.c
mp2629_charger.c
mt6360_charger.c power: supply: mt6360_charger: Fix of_match for usb-otg-vbus regulator 2024-05-17 11:50:46 +02:00
olpc_battery.c
pcf50633-charger.c
pda_power.c
pm2301_charger.h
pmu_battery.c
power_supply.h
power_supply_core.c power: supply: Fix logic checking if system is running from battery 2023-06-21 15:59:13 +02:00
power_supply_hwmon.c
power_supply_leds.c power: supply: leds: Fix blink to LED on transition 2023-05-30 13:55:32 +01:00
power_supply_sysfs.c power: supply: Ratelimit no data debug output 2023-06-21 15:59:12 +02:00
qcom_smbb.c power: supply: qcom_smbb: Remove superfluous error message 2021-08-06 23:36:12 +02:00
rn5t618_power.c power: supply: rn5t618: Add voltage_now property 2021-08-13 18:38:17 +02:00
rt5033_battery.c power: supply: rt5033_battery: Change voltage values to µV 2021-11-18 19:16:51 +01:00
rt9455_charger.c power: rt9455: hide unused rt9455_boost_voltage_values 2024-05-17 11:50:46 +02:00
rx51_battery.c
s3c_adc_battery.c
sbs-battery.c power: supply: sbs-battery: add support for time_to_empty_now attribute 2021-08-06 23:48:51 +02:00
sbs-charger.c power: supply: sbs-charger: Fix INHIBITED bit for Status reg 2023-05-30 13:55:32 +01:00
sbs-manager.c
sc27xx_fuel_gauge.c power: supply: sc27xx: Fix external_power_changed race 2023-06-21 15:59:12 +02:00
sc2731_charger.c power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE 2021-05-13 18:24:22 +02:00
smb347-charger.c power: supply: smb347-charger: Implement USB VBUS regulator 2021-08-16 17:57:10 +02:00
surface_battery.c power: supply: surface_battery: Fix battery event handling 2021-05-13 18:26:07 +02:00
surface_charger.c power: supply: surface-charger: Fix type of integer variable 2021-06-03 20:53:54 +02:00
test_power.c
tosa_battery.c
tps65090-charger.c
tps65217_charger.c
twl4030_charger.c
twl4030_madc_battery.c
ucs1002_power.c power: supply: ucs1002: fix error code in ucs1002_get_property() 2023-10-06 13:18:13 +02:00
wilco-charger.c
wm97xx_battery.c
wm831x_backup.c
wm831x_power.c
wm8350_power.c power: supply: wm8350-power: Add missing free in free_charger_irq 2022-04-08 14:23:37 +02:00
z2_battery.c power: supply: z2_battery: Fix possible memleak in z2_batt_probe() 2022-12-31 13:14:32 +01:00