diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-24 14:00:24 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-24 12:56:37 +0100 |
| commit | 7ddbf1cde4a03e36e17d06fbc711870eb0b256d7 (patch) | |
| tree | 6ded564224d22a655cb0fa061be4cd912bba533b /mm/tests/git@git.tavy.me:linux.git | |
| parent | fbef4191b4961c125585c715407e693f7d0024a9 (diff) | |
regulator: da9121: Use subvariant ids in the I2C table
da9121_i2c_probe() stores i2c_get_match_data() in chip->subvariant_id
and da9121_assign_chip_model() switches on DA9121_SUBTYPE_* values. The
OF table provides those subvariant values, but the I2C id table
currently provides DA9121_TYPE_* values.
Make the I2C id table use the same subvariant namespace as the OF table
so non-DT I2C matches feed the expected data type into the model
assignment code.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260624060024.61300-1-pengpeng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
