diff options
author | Mark Brown <broonie@kernel.org> | 2015-07-17 19:57:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-17 19:57:41 +0200 |
commit | da7b33739ebefca48259e4741376b9c77015d9d0 (patch) | |
tree | 43af87fadb48bfaf23e3e09378cfb90edb585f19 /drivers/mfd/wm5110-tables.c | |
parent | ASoC: wm5110: Add special DRE on/off handling for the headphone path (diff) | |
parent | regmap: Use reg_sequence for multi_reg_write / register_patch (diff) | |
download | linux-da7b33739ebefca48259e4741376b9c77015d9d0.tar.xz linux-da7b33739ebefca48259e4741376b9c77015d9d0.zip |
Merge tag 'regmap-seq-delay-api' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap into asoc-wm5110
regmap: Create a new struct reg_sequence for register sequences
In order to allow us to start adding extra annotations for sequences
without bloating register default tables duplicate the structure under
the new name reg_sequence and update the APIs to use that instead of
reg_default.
Diffstat (limited to 'drivers/mfd/wm5110-tables.c')
-rw-r--r-- | drivers/mfd/wm5110-tables.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c index e08924261fef..dae04dd20ff5 100644 --- a/drivers/mfd/wm5110-tables.c +++ b/drivers/mfd/wm5110-tables.c @@ -21,7 +21,7 @@ #define WM5110_NUM_AOD_ISR 2 #define WM5110_NUM_ISR 5 -static const struct reg_default wm5110_reva_patch[] = { +static const struct reg_sequence wm5110_reva_patch[] = { { 0x80, 0x3 }, { 0x44, 0x20 }, { 0x45, 0x40 }, @@ -134,7 +134,7 @@ static const struct reg_default wm5110_reva_patch[] = { { 0x209, 0x002A }, }; -static const struct reg_default wm5110_revb_patch[] = { +static const struct reg_sequence wm5110_revb_patch[] = { { 0x80, 0x3 }, { 0x36e, 0x0210 }, { 0x370, 0x0210 }, @@ -224,7 +224,7 @@ static const struct reg_default wm5110_revb_patch[] = { { 0x80, 0x0 }, }; -static const struct reg_default wm5110_revd_patch[] = { +static const struct reg_sequence wm5110_revd_patch[] = { { 0x80, 0x3 }, { 0x80, 0x3 }, { 0x393, 0x27 }, |