linux/drivers/mfd
Javier Carrasco 72e06bedd5 mfd: omap-usb-tll: Use struct_size to allocate tll
[ Upstream commit 40176714c8 ]

Commit 16c2004d9e ("mfd: omap-usb-tll: Allocate driver data at once")
changed the memory allocation of 'tll' to consolidate it into a single
allocation, introducing an incorrect size calculation.

In particular, the allocation for the array of pointers was converted
into a single-pointer allocation.

The memory allocation used to occur in two steps:

tll = devm_kzalloc(dev, sizeof(struct usbtll_omap), GFP_KERNEL);
tll->ch_clk = devm_kzalloc(dev, sizeof(struct clk *) * tll->nch,
                           GFP_KERNEL);

And it turned that into the following allocation:

tll = devm_kzalloc(dev, sizeof(*tll) + sizeof(tll->ch_clk[nch]),
                   GFP_KERNEL);

sizeof(tll->ch_clk[nch]) returns the size of a single pointer instead of
the expected nch pointers.

This bug went unnoticed because the allocation size was small enough to
fit within the minimum size of a memory allocation for this particular
case [1].

The complete allocation can still be done at once with the struct_size
macro, which comes in handy for structures with a trailing flexible
array.

Fix the memory allocation to obtain the original size again.

Link: https://lore.kernel.org/all/202406261121.2FFD65647@keescook/ [1]
Fixes: 16c2004d9e ("mfd: omap-usb-tll: Allocate driver data at once")
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Fixes: commit 16c2004d9e ("mfd: omap-usb-tll: Allocate driver data at once")
Link: https://lore.kernel.org/r/20240626-omap-usb-tll-counted_by-v2-1-4bedf20d1b51@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-19 05:33:32 +02:00
..
88pm80x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
88pm800.c mfd: 88pm800: Convert to i2c_new_dummy_device 2019-08-12 08:51:45 +01:00
88pm805.c
88pm860x-core.c mfd: 88pm860x-core: Convert to i2c_new_dummy_device 2019-08-12 08:51:50 +01:00
88pm860x-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
aat2870-core.c mfd: aat2870: No need to check return value of debugfs_create functions 2019-08-12 07:27:40 +01:00
ab3100-core.c mfd: ab3100-core: Convert to i2c_new_dummy_device 2019-08-12 08:51:54 +01:00
ab3100-otp.c mfd: ab3100: No need to check return value of debugfs_create functions 2019-08-12 07:27:40 +01:00
ab8500-core.c mfd: Don't use irq_create_mapping() to resolve a mapping 2021-09-22 12:26:43 +02:00
ab8500-debugfs.c mfd: Remove dev_err() usage after platform_get_irq() 2019-08-12 11:29:47 +01:00
ab8500-gpadc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 197 2019-05-30 11:29:22 -07:00
ab8500-sysctrl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00
abx500-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00
ac100.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
act8945a.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
adp5520.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149 2019-05-30 11:25:18 -07:00
altera-a10sr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
altera-sysmgr.c mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref 2024-03-26 18:22:21 -04:00
arizona-core.c mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak 2023-03-11 16:44:13 +01:00
arizona-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
arizona-irq.c mfd: arizona: Fix rumtime PM imbalance on error 2021-05-11 14:04:12 +02:00
arizona-spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
arizona.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
as3711.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 312 2019-06-05 17:37:04 +02:00
as3722.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
asic3.c mfd: asic3: Add missing iounmap() on error asic3_mfd_probe 2022-04-15 14:18:17 +02:00
at91-usart.c mfd: at91-usart: No need to copy mfd_cell in probe 2019-02-07 10:44:09 +00:00
atmel-flexcom.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
atmel-hlcdc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
atmel-smc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
axp20x-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
axp20x-rsb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
axp20x.c mfd: axp20x: Update AXP288 volatile ranges 2021-09-22 12:26:44 +02:00
bcm590xx.c mfd: bcm590xx: Convert to i2c_new_dummy_device 2019-08-12 08:51:58 +01:00
bcm2835-pm.c soc: bcm: bcm2835-pm: Add support for power domains under a new binding. 2019-01-09 16:55:09 +01:00
bd9571mwv.c mfd: bd9571mwv: Use devm_mfd_add_devices() 2021-03-04 10:26:28 +01:00
cros_ec_dev.c mfd: cros_ec: Use mfd_add_hotplug_devices() helper 2019-09-02 11:34:24 +01:00
cs47l15-tables.c mfd: madera: Fixup SPDX headers 2019-07-02 12:11:31 +01:00
cs47l24-tables.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cs47l35-tables.c mfd: madera: Fixup SPDX headers 2019-07-02 12:11:31 +01:00
cs47l85-tables.c mfd: madera: Fixup SPDX headers 2019-07-02 12:11:31 +01:00
cs47l90-tables.c mfd: madera: Fixup SPDX headers 2019-07-02 12:11:31 +01:00
cs47l92-tables.c mfd: madera: Fixup SPDX headers 2019-07-02 12:11:31 +01:00
cs5535-mfd.c - Core Frameworks 2019-07-15 20:18:40 -07:00
da903x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
da9052-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
da9052-i2c.c mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE 2021-07-20 16:10:43 +02:00
da9052-irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
da9052-spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
da9055-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
da9055-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
da9062-core.c mfd: da9062: Fix watchdog compatible string 2020-02-11 04:35:52 -08:00
da9063-core.c mfd: da9063: Remove platform_data support 2019-05-14 08:13:26 +01:00
da9063-i2c.c mfd: da9063: Remove platform_data support 2019-05-14 08:13:26 +01:00
da9063-irq.c mfd: da9063: Remove platform_data support 2019-05-14 08:13:26 +01:00
da9150-core.c mfd: da9150-core: Convert to i2c_new_dummy_device 2019-08-12 08:52:03 +01:00
davinci_voicecodec.c mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe() 2022-06-14 18:11:42 +02:00
db8500-prcmu.c mfd: db8500-prcmu: Adjust map to reality 2021-09-22 12:26:43 +02:00
dbx500-prcmu-regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 197 2019-05-30 11:29:22 -07:00
dln2.c mfd: dln2: Fix double put in dln2_probe 2023-11-20 10:30:13 +01:00
dm355evm_msp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
exynos-lpass.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 390 2019-06-05 17:37:11 +02:00
ezx-pcap.c mfd: ezx-pcap: Replace mutex_lock with spin_lock 2019-09-02 11:05:37 +01:00
fsl-imx25-tsadc.c mfd: fsl-imx25: Fix check for platform_get_irq() errors 2022-10-26 13:22:42 +02:00
hi655x-pmic.c - Core Frameworks 2019-07-15 20:18:40 -07:00
hi6421-pmic-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
htc-i2cpld.c mfd: htc-i2cpld: Drop check because i2c_unregister_device() is NULL safe 2019-09-02 11:09:03 +01:00
htc-pasic3.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
intel_msic.c mfd: Convert Intel PMIC drivers to use SPDX identifier 2018-10-23 08:58:34 +01:00
intel_quark_i2c_gpio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
intel_soc_pmic_bxtwc.c mfd: Remove dev_err() usage after platform_get_irq() 2019-08-12 11:29:47 +01:00
intel_soc_pmic_chtdc_ti.c mfd: Convert Intel PMIC drivers to use SPDX identifier 2018-10-23 08:58:34 +01:00
intel_soc_pmic_chtwc.c mfd: intel_soc_pmic_chtwc: Register LED child device 2019-05-14 08:13:25 +01:00
intel_soc_pmic_core.c mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe() 2022-10-26 13:22:41 +02:00
intel_soc_pmic_core.h mfd: Convert Intel PMIC drivers to use SPDX identifier 2018-10-23 08:58:34 +01:00
intel_soc_pmic_crc.c mfd: Convert Intel PMIC drivers to use SPDX identifier 2018-10-23 08:58:34 +01:00
intel_soc_pmic_mrfld.c mfd: Add support for Merrifield Basin Cove PMIC 2019-09-02 11:09:03 +01:00
intel-lpss-acpi.c mfd: intel-lpss: Add missing check for platform_get_resource 2023-07-27 08:37:21 +02:00
intel-lpss-pci.c mfd: intel-lpss: Add Intel Tiger Lake PCH-H PCI IDs 2020-09-03 11:26:43 +02:00
intel-lpss.c mfd: intel-lpss: Use devm_ioremap_uc for MMIO 2020-05-10 10:31:30 +02:00
intel-lpss.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ipaq-micro.c mfd: ipaq-micro: Fix error check return value of platform_get_irq() 2022-06-14 18:11:40 +02:00
janz-cmodio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig mfd: ti_am335x_tscadc: Fix TI SoC dependencies 2024-02-23 08:25:02 +01:00
kempld-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 294 2019-06-05 17:36:38 +02:00
lm3533-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
lm3533-ctrlbank.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
lochnagar-i2c.c mfd: lochnagar: Add support for the Cirrus Logic Lochnagar 2019-02-07 10:44:00 +00:00
lp873x.c
lp3943.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
lp8788-irq.c mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init() 2022-10-26 13:22:42 +02:00
lp8788.c mfd: lp8788: Fix an error handling path in lp8788_probe() 2022-10-26 13:22:42 +02:00
lp87565.c - Core Frameworks 2019-07-15 20:18:40 -07:00
lpc_ich.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 294 2019-06-05 17:36:38 +02:00
lpc_sch.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 294 2019-06-05 17:36:38 +02:00
madera-core.c mfd: madera: Fixup SPDX headers 2019-07-02 12:11:31 +01:00
madera-i2c.c mfd: madera: Fixup SPDX headers 2019-07-02 12:11:31 +01:00
madera-spi.c mfd: madera: Fixup SPDX headers 2019-07-02 12:11:31 +01:00
madera.h - Core Frameworks 2019-07-15 20:18:40 -07:00
Makefile - New Drivers 2019-09-23 19:37:49 -07:00
max8907.c mfd: max8907: Convert to i2c_new_dummy_device 2019-08-12 08:53:58 +01:00
max8925-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
max8925-i2c.c mfd: max8925-i2c: Convert to i2c_new_dummy_device 2019-08-12 08:54:10 +01:00
max8997-irq.c mfd: maxim: Add SPDX license identifiers 2018-10-23 08:58:34 +01:00
max8997.c mfd: max8997: Convert to i2c_new_dummy_device 2019-08-12 08:53:58 +01:00
max8998-irq.c mfd: maxim: Add SPDX license identifiers 2018-10-23 08:58:34 +01:00
max8998.c mfd: max8998: Convert to i2c_new_dummy_device 2019-08-12 08:53:58 +01:00
max14577.c mfd: max14577: Convert to i2c_new_dummy_device 2019-08-12 08:53:58 +01:00
max77620.c mfd: max77620: Fix refcount leak in max77620_initialise_fps 2022-08-25 11:18:04 +02:00
max77650.c mfd: Add new driver for MAX77650 PMIC 2019-05-08 12:06:21 +01:00
max77686.c mfd: maxim: Add SPDX license identifiers 2018-10-23 08:58:34 +01:00
max77693.c mfd: max77693: Convert to i2c_new_dummy_device 2019-08-12 08:53:58 +01:00
max77843.c mfd: max77843: Convert to i2c_new_dummy_device 2019-08-12 08:54:05 +01:00
mc13xxx-core.c mfd: mc13xxx: Add check for mc13xxx_irq_request 2022-04-15 14:18:15 +02:00
mc13xxx-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mc13xxx-spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mc13xxx.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mcp-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
mcp-sa11x0.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
menelaus.c - Core Frameworks 2019-07-15 20:18:40 -07:00
menf21bmc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mfd-core.c mfd: mfd-core: Protect against NULL call-back function pointer 2020-10-01 13:17:17 +02:00
motorola-cpcap.c mfd: cpcap: Fix cpcap dmamask not set warnings 2021-07-20 16:10:43 +02:00
mt6397-core.c mfd: mt6397: Fix probe after changing mt6397-core 2019-10-24 08:49:25 +01:00
mt6397-irq.c mfd: mt6397: Extract IRQ related code from core driver 2019-08-12 12:29:30 +01:00
mxs-lradc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
omap-usb-host.c mfd: omap-usb-host: Mark expected switch fall-throughs 2019-08-12 11:28:55 +01:00
omap-usb-tll.c mfd: omap-usb-tll: Use struct_size to allocate tll 2024-08-19 05:33:32 +02:00
omap-usb.h
palmas.c mfd: palmas: Convert to i2c_new_dummy_device 2019-08-12 08:54:16 +01:00
pcf50633-adc.c mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read() 2023-03-11 16:43:50 +01:00
pcf50633-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pcf50633-gpio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pcf50633-irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
qcom_rpm.c mfd: Remove dev_err() usage after platform_get_irq() 2019-08-12 11:29:47 +01:00
qcom-pm8xxx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
qcom-spmi-pmic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
rave-sp.c mfd: rave-sp: Fix typo in rave_sp_checksum comment 2019-01-03 08:32:42 +00:00
rc5t583-irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
rc5t583.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
rdc321x-southbridge.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
retu-mfd.c
rk808.c mfd: rk808: Make PM function declaration static 2019-08-27 13:33:21 +01:00
rn5t618.c mfd: rn5t618: Mark ADC control register volatile 2020-02-11 04:35:52 -08:00
rohm-bd718x7.c mfd: bd718x7: Make power button press duration configurable 2019-07-02 12:11:31 +01:00
rohm-bd70528.c mfd: bd70528: Support ROHM bd70528 PMIC core 2019-06-27 10:57:24 +01:00
rt5033.c mfd: rt5033: Drop rt5033-battery sub-device 2023-07-27 08:37:21 +02:00
sec-core.c mfd: sec: Add support for the RTC on S2MPA01 2019-05-14 08:13:25 +01:00
sec-irq.c mfd: sec: Add support for the RTC on S2MPA01 2019-05-14 08:13:25 +01:00
si476x-cmd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
si476x-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
si476x-prop.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
sky81452.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
sm501.c mfd: sm501: Add check for platform_driver_register() 2022-10-26 13:22:42 +02:00
smsc-ece1099.c mfd: smsc-ece1099: Improve a size determination in smsc_i2c_probe() 2018-05-16 09:21:48 +01:00
sprd-sc27xx-spi.c mfd: sprd: Add wakeup capability for PMIC IRQ 2020-11-18 19:20:26 +01:00
ssbi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
sta2x11-mfd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
stm32-lptimer.c mfd: stm32: Adopt SPDX identifier 2018-01-08 11:03:35 +00:00
stm32-timers.c mfd: stm32-timers: Avoid clearing auto reload register 2021-05-14 09:44:25 +02:00
stmfx.c mfd: stmfx: Fix error path in stmfx_chip_init 2023-07-27 08:37:21 +02:00
stmpe-i2c.c mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE 2021-07-20 16:10:43 +02:00
stmpe-spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464 2019-06-19 17:09:10 +02:00
stmpe.c mfd: stmpe: Only disable the regulators if they are enabled 2023-07-27 08:37:22 +02:00
stmpe.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464 2019-06-19 17:09:10 +02:00
stpmic1.c mfd: stpmic1: Add STPMIC1 driver 2019-01-16 13:59:34 +00:00
stw481x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00
sun4i-gpadc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sun6i-prcm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 197 2019-05-30 11:29:22 -07:00
syscon.c mfd: syscon: Call of_node_put() only when of_parse_phandle() takes a ref 2024-03-26 18:22:21 -04:00
t7l66xb.c mfd: t7l66xb: Drop platform disable callback 2022-08-25 11:18:04 +02:00
tc3589x.c mfd: Don't use irq_create_mapping() to resolve a mapping 2021-09-22 12:26:43 +02:00
tc6387xb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tc6393xb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ti_am335x_tscadc.c mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells 2018-12-03 11:33:10 +00:00
ti-lmu.c LED updates for 5.3-rc1 2019-07-09 08:59:39 -07:00
timberdale.c mfd: timberdale: Use dev_get_drvdata 2019-08-12 08:46:29 +01:00
timberdale.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176 2019-05-30 11:29:19 -07:00
tmio_core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tps6105x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 194 2019-05-30 11:29:22 -07:00
tps6507x.c
tps6586x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tps65010.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
tps65086.c
tps65090.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
tps65217.c mfd: tps65217: Introduce dependency on CONFIG_OF 2017-10-13 10:42:58 +01:00
tps65218.c mfd: tps65218.c: Add input voltage options 2019-02-01 08:21:13 +00:00
tps65910.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tps65911-comparator.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tps65912-core.c
tps65912-i2c.c
tps65912-spi.c mfd: tps65912-spi: Add missing of table registration 2019-05-14 08:13:27 +01:00
tps68470.c mfd: tps68470: Drop unused MODULE_DEVICE_TABLE 2019-02-07 10:44:14 +00:00
tps80031.c mfd: tps80031: Convert to devm_i2c_new_dummy_device 2019-08-12 08:40:45 +01:00
tqmx86.c mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set 2021-09-22 12:26:44 +02:00
twl4030-audio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
twl4030-irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
twl4030-power.c
twl6030-irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
twl6040.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
twl-core.c mfd: twl-core: Convert to i2c_new_dummy_device 2019-08-12 08:53:58 +01:00
twl-core.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ucb1x00-assabet.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
ucb1x00-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
ucb1x00-ts.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ucb1400_core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vexpress-sysreg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
viperboard.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
vx855.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
wl1273-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
wm97xx-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm831x-auxadc.c mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq() 2021-03-04 10:26:33 +01:00
wm831x-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm831x-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm831x-irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm831x-otp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm831x-spi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm5102-tables.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
wm5110-tables.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
wm8350-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm8350-gpio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm8350-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm8350-irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm8350-regmap.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm8400-core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm8994-core.c mfd: wm8994: Fix driver operation if loaded as modules 2020-06-24 17:50:16 +02:00
wm8994-irq.c mfd: Don't use irq_create_mapping() to resolve a mapping 2021-09-22 12:26:43 +02:00
wm8994-regmap.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm8994.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
wm8997-tables.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
wm8998-tables.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00