History

regulator: ab8500: Remove SYSCLKREQ from enum ab8505_regulator_id

Those regulators are not actually supported by the AB8500 regulator driver. There is no ab8500_regulator_info for them and no entry in ab8505_regulator_match. As such, they cannot be registered successfully, and looking them up in ab8505_regulator_match causes an out-of-bounds array read.

Stephan Gerhold committed 7 years ago

Commit 458ea3a1 parent 99c4f701 file · +0 −2Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/regulator/ab8500.h+0−2
@@ -42,8 +42,6 @@ enum ab8505_regulator_id { · 41 unmodified lines
4242 AB8505_LDO_ANAMIC2,
4343 AB8505_LDO_AUX8,
4444 AB8505_LDO_ANA,
45− AB8505_SYSCLKREQ_2,
46− AB8505_SYSCLKREQ_4,
4745 AB8505_NUM_REGULATORS,
4846 };
4947

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t