Add support for cs42l44
Subsystems (5)
cover Add support for cs42l44
This series add support for the cs42l44 to the cs42l43 driver.
I have based these patches on the series by Uwe from here:
https://lore.kernel.org/lkml/[email protected]/
Since they both touch the device id arrays, does mean Uwe's series will need to be merged before these but probably simpler this way round as his series is a lot bigger.
Thanks,
Charles
Charles Keepax (3):
ASoC: dt-bindings: cirrus,cs42l43: Add CS42L44 variant
mfd: cs42l43: Tidy up formatting on sdw_device_id table
mfd: cs42l43: Add support for new cs42l44 variant
.../bindings/sound/cirrus,cs42l43.yaml | 1 + drivers/mfd/cs42l43-i2c.c | 2 ++ drivers/mfd/cs42l43-sdw.c | 7 ++++--- drivers/mfd/cs42l43.c | 18 ++++++++++++------ include/linux/mfd/cs42l43-regs.h | 1 + 5 files changed, 20 insertions(+), 9 deletions(-)
Signature · 1 line
2.47.3
PATCH 1/3 ASoC: dt-bindings: cirrus,cs42l43: Add CS42L44 variant
The cs42l44 is a cost optimised variant of cs42l43b.
--- Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml +1 -0
@@ -27,6 +27,7 @@ properties: enum: - cirrus,cs42l43 - cirrus,cs42l43b + - cirrus,cs42l44 reg: maxItems: 1
Signature · 1 line
2.47.3
Re: [PATCH 1/3] ASoC: dt-bindings: cirrus,cs42l43: Add CS42L44 variant
Quoted 7 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b.
Signed-off-by Charles Keepax <[email protected]>--- Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml | 1 + 1 file changed, 1 insertion(+)
Re: [PATCH 1/3] ASoC: dt-bindings: cirrus,cs42l43: Add CS42L44 variant
In reply to Charles KeepaxQuoted 4 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b.
Signed-off-by Charles Keepax <[email protected]>---
Going to resend this one separately, there is no need to delay the binding change whilst we sort out the device table conflicts, the end result to the binding will not be affected.
Thanks,
Charles
PATCH 2/3 mfd: cs42l43: Tidy up formatting on sdw_device_id table
In reply to Charles KeepaxRemove spaces after cast as they generate check patch warnings, and update the terminator to better match kernel coding guidelines.
--- drivers/mfd/cs42l43-sdw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/mfd/cs42l43-sdw.c +3 -3
@@ -182,9 +182,9 @@ static int cs42l43_sdw_probe(struct sdw_slave *sdw, const struct sdw_device_id * }static const struct sdw_device_id cs42l43_sdw_id[] = { -SDW_SLAVE_ENTRY (0x01FA ,0x4243 , (void *)CS42L43_DEVID_VAL ), -SDW_SLAVE_ENTRY (0x01FA ,0x2A3B , (void *)CS42L43B_DEVID_VAL ), - {} +SDW_SLAVE_ENTRY (0x01FA ,0x4243 , (void *)CS42L43_DEVID_VAL ), +SDW_SLAVE_ENTRY (0x01FA ,0x2A3B , (void *)CS42L43B_DEVID_VAL ), + { } };MODULE_DEVICE_TABLE (sdw, cs42l43_sdw_id);
Signature · 1 line
2.47.3
Re: (subset) [PATCH 2/3] mfd: cs42l43: Tidy up formatting on sdw_device_id table
Quoted 2 lines · Charles Keepax
Remove spaces after cast as they generate check patch warnings, and update the terminator to better match kernel coding guidelines.
Applied, thanks!
[2/3] mfd: cs42l43: Tidy up formatting on sdw_device_id table
commit: 7d044cc604923749a8c2edb321a40cdc0e592259
--
Lee Jones [李琼斯]
PATCH 3/3 mfd: cs42l43: Add support for new cs42l44 variant
In reply to Charles KeepaxThe cs42l44 is a cost optimised variant of cs42l43b. Add basic support for this new device.
--- drivers/mfd/cs42l43-i2c.c | 2 ++ drivers/mfd/cs42l43-sdw.c | 1 + drivers/mfd/cs42l43.c | 18 ++++++++++++------ include/linux/mfd/cs42l43-regs.h | 1 + 4 files changed, 16 insertions(+), 6 deletions(-)
drivers/mfd/cs42l43-i2c.c +2 -0
@@ -59,6 +59,7 @@ static int cs42l43_i2c_probe(struct i2c_client *i2c)static const struct of_device_id cs42l43_of_match[] = { { .compatible ="cirrus,cs42l43" , .data = (void *)CS42L43_DEVID_VAL }, { .compatible ="cirrus,cs42l43b" , .data = (void *)CS42L43B_DEVID_VAL }, + { .compatible ="cirrus,cs42l44" , .data = (void *)CS42L43B_DEVID_VAL }, { } };MODULE_DEVICE_TABLE (of, cs42l43_of_match);
@@ -68,6 +69,7 @@ MODULE_DEVICE_TABLE(of, cs42l43_of_match);static const struct acpi_device_id cs42l43_acpi_match[] = { { .id ="CSC4243" , .driver_data =CS42L43_DEVID_VAL }, { .id ="CSC2A3B" , .driver_data =CS42L43B_DEVID_VAL }, + { .id ="CSC4244" , .driver_data =CS42L43B_DEVID_VAL }, { } };MODULE_DEVICE_TABLE (acpi, cs42l43_acpi_match);
drivers/mfd/cs42l43-sdw.c +1 -0
@@ -184,6 +184,7 @@ static int cs42l43_sdw_probe(struct sdw_slave *sdw, const struct sdw_device_id *static const struct sdw_device_id cs42l43_sdw_id[] = {SDW_SLAVE_ENTRY (0x01FA ,0x4243 , (void *)CS42L43_DEVID_VAL ),SDW_SLAVE_ENTRY (0x01FA ,0x2A3B , (void *)CS42L43B_DEVID_VAL ), +SDW_SLAVE_ENTRY (0x01FA ,0x4244 , (void *)CS42L43B_DEVID_VAL ), { } };MODULE_DEVICE_TABLE (sdw, cs42l43_sdw_id);
drivers/mfd/cs42l43.c +12 -6
@@ -959,6 +959,7 @@ static void cs42l43_boot_work(struct work_struct *work) { struct cs42l43 *cs42l43 = container_of(work, struct cs42l43, boot_work);unsigned int devid, revid, otp; +bool valid_id;int ret; ret =cs42l43_wait_for_attach (cs42l43);
@@ -973,19 +974,24 @@ static void cs42l43_boot_work(struct work_struct *work)switch (devid) {case CS42L43_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43_DEVID_VAL ); +break ;case CS42L43B_DEVID_VAL : -if (devid != cs42l43->variant_id) { -dev_err (cs42l43->dev, -"Device ID (0x%06x) does not match variant ID (0x%06lx)\n" , - devid, cs42l43->variant_id); - goto err; - } +case CS42L44_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43B_DEVID_VAL );break ;default :dev_err (cs42l43->dev,"Unrecognised devid: 0x%06x\n" , devid); goto err; } +if (!valid_id) { +dev_err (cs42l43->dev, +"Device ID (0x%06x) does not match variant ID (0x%06lx)\n" , + devid, cs42l43->variant_id); + goto err; + } + ret =regmap_read (cs42l43->regmap,CS42L43_REVID , &revid);if (ret) {dev_err (cs42l43->dev,"Failed to read rev: %d\n" , ret);
include/linux/mfd/cs42l43-regs.h +1 -0
@@ -1183,6 +1183,7 @@/* CS42L43B VARIANT REGISTERS */ #define CS42L43B_DEVID_VAL 0x0042A43B +#define CS42L44_DEVID_VAL 0x00042A44#define CS42L43B_DECIM_VOL_CTRL_CH1_CH2 0x00008280#define CS42L43B_DECIM_VOL_CTRL_CH3_CH4 0x00008284
Signature · 1 line
2.47.3
Lee Jones
maintainerRe: [PATCH 3/3] mfd: cs42l43: Add support for new cs42l44 variant
Quoted 58 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b. Add basic support for this new device.
Signed-off-by Charles Keepax <[email protected]>--- drivers/mfd/cs42l43-i2c.c | 2 ++ drivers/mfd/cs42l43-sdw.c | 1 + drivers/mfd/cs42l43.c | 18 ++++++++++++------ include/linux/mfd/cs42l43-regs.h | 1 + 4 files changed, 16 insertions(+), 6 deletions(-)drivers/mfd/cs42l43-i2c.c +2
-0@@ -59,6 +59,7 @@ static int cs42l43_i2c_probe(struct i2c_client *i2c)static const struct of_device_id cs42l43_of_match[] = { { .compatible ="cirrus,cs42l43" , .data = (void *)CS42L43_DEVID_VAL }, { .compatible ="cirrus,cs42l43b" , .data = (void *)CS42L43B_DEVID_VAL }, + { .compatible ="cirrus,cs42l44" , .data = (void *)CS42L43B_DEVID_VAL }, { } };MODULE_DEVICE_TABLE (of, cs42l43_of_match);@@ -68,6 +69,7 @@ MODULE_DEVICE_TABLE(of, cs42l43_of_match);static const struct acpi_device_id cs42l43_acpi_match[] = { { .id ="CSC4243" , .driver_data =CS42L43_DEVID_VAL }, { .id ="CSC2A3B" , .driver_data =CS42L43B_DEVID_VAL }, + { .id ="CSC4244" , .driver_data =CS42L43B_DEVID_VAL }, { } };MODULE_DEVICE_TABLE (acpi, cs42l43_acpi_match);drivers/mfd/cs42l43-sdw.c +1
-0@@ -184,6 +184,7 @@ static int cs42l43_sdw_probe(struct sdw_slave *sdw, const struct sdw_device_id *static const struct sdw_device_id cs42l43_sdw_id[] = {SDW_SLAVE_ENTRY (0x01FA ,0x4243 , (void *)CS42L43_DEVID_VAL ),SDW_SLAVE_ENTRY (0x01FA ,0x2A3B , (void *)CS42L43B_DEVID_VAL ), +SDW_SLAVE_ENTRY (0x01FA ,0x4244 , (void *)CS42L43B_DEVID_VAL ), { } };MODULE_DEVICE_TABLE (sdw, cs42l43_sdw_id);drivers/mfd/cs42l43.c +1
-0@@ -959,6 +959,7 @@ static void cs42l43_boot_work(struct work_struct *work) { struct cs42l43 *cs42l43 = container_of(work, struct cs42l43, boot_work);unsigned int devid, revid, otp; +bool valid_id;int ret; ret =cs42l43_wait_for_attach (cs42l43);@@ -973,19 +974,24 @@ static void cs42l43_boot_work(struct work_struct *work)switch (devid) {
drivers/mfd/cs42l43.c static void cs42l43_boot_work(struct work_struct *work) · line 982
Quoted 10 lines
drivers/mfd/cs42l43.c +2
-6case CS42L43_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43_DEVID_VAL ); +break ;case CS42L43B_DEVID_VAL : -if (devid != cs42l43->variant_id) { -dev_err (cs42l43->dev, -"Device ID (0x%06x) does not match variant ID (0x%06lx)\n" , - devid, cs42l43->variant_id); - goto err; - }
Needs a fall-through statement.
drivers/mfd/cs42l43.c static void cs42l43_boot_work(struct work_struct *work) · line 988
Quoted 9 lines
drivers/mfd/cs42l43.c +3
-0+case CS42L44_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43B_DEVID_VAL );break ;default :dev_err (cs42l43->dev,"Unrecognised devid: 0x%06x\n" , devid); goto err; } +if (!valid_id) {
How is this nor handled in the default branch?
Quoted 24 lines
drivers/mfd/cs42l43.c +6
-0+dev_err (cs42l43->dev, +"Device ID (0x%06x) does not match variant ID (0x%06lx)\n" , + devid, cs42l43->variant_id); + goto err; + } + ret =regmap_read (cs42l43->regmap,CS42L43_REVID , &revid);if (ret) {dev_err (cs42l43->dev,"Failed to read rev: %d\n" , ret);include/linux/mfd/cs42l43-regs.h +1
-0@@ -1183,6 +1183,7 @@/* CS42L43B VARIANT REGISTERS */ #define CS42L43B_DEVID_VAL 0x0042A43B +#define CS42L44_DEVID_VAL 0x00042A44#define CS42L43B_DECIM_VOL_CTRL_CH1_CH2 0x00008280#define CS42L43B_DECIM_VOL_CTRL_CH3_CH4 0x00008284Signature · 1 line
2.47.3
Signature · 1 line
Lee Jones
Re: [PATCH 3/3] mfd: cs42l43: Add support for new cs42l44 variant
Quoted 4 lines · Lee Jones
Quoted 3 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b. Add basic support for this new device.
Quoted 15 lines
drivers/mfd/cs42l43.c static void cs42l43_boot_work(struct work_struct *work) · line 982
Quoted 13 lines
Signed-off-by Charles Keepax <[email protected]>---
drivers/mfd/cs42l43.c +2
-6switch (devid) {case CS42L43_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43_DEVID_VAL ); +break ;case CS42L43B_DEVID_VAL : -if (devid != cs42l43->variant_id) { -dev_err (cs42l43->dev, -"Device ID (0x%06x) does not match variant ID (0x%06lx)\n" , - devid, cs42l43->variant_id); - goto err; - }Needs a fall-through statement.
I thought they weren't typically used if the case had no content, the resultant code looks like:
case CS42L43B_DEVID_VAL:
case CS42L44_DEVID_VAL:
valid_id = (cs42l43->variant_id == CS42L43B_DEVID_VAL); break;
But happy to add one if we really want it?
Quoted 11 lines
drivers/mfd/cs42l43.c static void cs42l43_boot_work(struct work_struct *work) · line 988
Quoted 9 lines
drivers/mfd/cs42l43.c +3
-0+case CS42L44_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43B_DEVID_VAL );break ;default :dev_err (cs42l43->dev,"Unrecognised devid: 0x%06x\n" , devid); goto err; } +if (!valid_id) {How is this nor handled in the default branch?
The default case ends in goto err; so this doesn't run in that case.
Thanks,
Charles
Lee Jones
maintainerRe: [PATCH 3/3] mfd: cs42l43: Add support for new cs42l44 variant
Quoted 24 lines · Charles Keepax
Quoted 4 lines · Lee Jones
Quoted 3 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b. Add basic support for this new device.
Quoted 15 lines
drivers/mfd/cs42l43.c static void cs42l43_boot_work(struct work_struct *work) · line 982
Quoted 13 lines
Signed-off-by Charles Keepax <[email protected]>---
drivers/mfd/cs42l43.c +2
-6switch (devid) {case CS42L43_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43_DEVID_VAL ); +break ;case CS42L43B_DEVID_VAL : -if (devid != cs42l43->variant_id) { -dev_err (cs42l43->dev, -"Device ID (0x%06x) does not match variant ID (0x%06lx)\n" , - devid, cs42l43->variant_id); - goto err; - }Needs a fall-through statement.
I thought they weren't typically used if the case had no content, the resultant code looks like:
Quoted 6 lines
case
CS42L43B_DEVID_VAL:
caseCS42L44_DEVID_VAL:valid_id = (cs42l43->variant_id == CS42L43B_DEVID_VAL); break;But happy to add one if we really want it?
Not particularly. I'm happy to take your word for it.
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
drivers/mfd/cs42l43.c +2
-0+case CS42L44_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43B_DEVID_VAL );break ;default :dev_err (cs42l43->dev,"Unrecognised devid: 0x%06x\n" , devid); goto err; }
Quoted 6 lines
Quoted 3 lines
drivers/mfd/cs42l43.c static void cs42l43_boot_work(struct work_struct *work) · line 988
Quoted 1 line
drivers/mfd/cs42l43.c +1
-0+if (!valid_id) {How is this nor handled in the default branch?
The default case ends in goto err; so this doesn't run in that case.
So are there 'case's that do not populate valid_id?
Signature · 1 line
Lee Jones
Re: [PATCH 3/3] mfd: cs42l43: Add support for new cs42l44 variant
Quoted 17 lines · Lee Jones
Quoted 15 lines · Charles Keepax
Quoted 14 lines · Lee Jones
Quoted 13 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b. Add basic support for this new device.
Signed-off-by Charles Keepax <[email protected]>---
drivers/mfd/cs42l43.c +2
-0+case CS42L44_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43B_DEVID_VAL );break ;default :dev_err (cs42l43->dev,"Unrecognised devid: 0x%06x\n" , devid); goto err; }
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
drivers/mfd/cs42l43.c static void cs42l43_boot_work(struct work_struct *work) · line 988
Quoted 1 line
drivers/mfd/cs42l43.c +1
-0+if (!valid_id) {How is this nor handled in the default branch?
The default case ends in goto err; so this doesn't run in that case.
So are there 'case's that do not populate
valid_id?
No, all the cases populate valid_id.
The switch is basically checking if the chip ID matches the ID that was given in ACPI/DT, so I would also expect this to always be the case.
Thanks,
Charles
Lee Jones
maintainerRe: [PATCH 3/3] mfd: cs42l43: Add support for new cs42l44 variant
In reply to Charles KeepaxQuoted 10 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b. Add basic support for this new device.
Signed-off-by Charles Keepax <[email protected]>--- drivers/mfd/cs42l43-i2c.c | 2 ++ drivers/mfd/cs42l43-sdw.c | 1 + drivers/mfd/cs42l43.c | 18 ++++++++++++------ include/linux/mfd/cs42l43-regs.h | 1 + 4 files changed, 16 insertions(+), 6 deletions(-)
Doesn't apply anymore, sorry. Please rebase.
Quoted 90 lines
drivers/mfd/cs42l43-i2c.c +2
-0@@ -59,6 +59,7 @@ static int cs42l43_i2c_probe(struct i2c_client *i2c)static const struct of_device_id cs42l43_of_match[] = { { .compatible ="cirrus,cs42l43" , .data = (void *)CS42L43_DEVID_VAL }, { .compatible ="cirrus,cs42l43b" , .data = (void *)CS42L43B_DEVID_VAL }, + { .compatible ="cirrus,cs42l44" , .data = (void *)CS42L43B_DEVID_VAL }, { } };MODULE_DEVICE_TABLE (of, cs42l43_of_match);@@ -68,6 +69,7 @@ MODULE_DEVICE_TABLE(of, cs42l43_of_match);static const struct acpi_device_id cs42l43_acpi_match[] = { { .id ="CSC4243" , .driver_data =CS42L43_DEVID_VAL }, { .id ="CSC2A3B" , .driver_data =CS42L43B_DEVID_VAL }, + { .id ="CSC4244" , .driver_data =CS42L43B_DEVID_VAL }, { } };MODULE_DEVICE_TABLE (acpi, cs42l43_acpi_match);drivers/mfd/cs42l43-sdw.c +1
-0@@ -184,6 +184,7 @@ static int cs42l43_sdw_probe(struct sdw_slave *sdw, const struct sdw_device_id *static const struct sdw_device_id cs42l43_sdw_id[] = {SDW_SLAVE_ENTRY (0x01FA ,0x4243 , (void *)CS42L43_DEVID_VAL ),SDW_SLAVE_ENTRY (0x01FA ,0x2A3B , (void *)CS42L43B_DEVID_VAL ), +SDW_SLAVE_ENTRY (0x01FA ,0x4244 , (void *)CS42L43B_DEVID_VAL ), { } };MODULE_DEVICE_TABLE (sdw, cs42l43_sdw_id);drivers/mfd/cs42l43.c +12
-6@@ -959,6 +959,7 @@ static void cs42l43_boot_work(struct work_struct *work) { struct cs42l43 *cs42l43 = container_of(work, struct cs42l43, boot_work);unsigned int devid, revid, otp; +bool valid_id;int ret; ret =cs42l43_wait_for_attach (cs42l43);@@ -973,19 +974,24 @@ static void cs42l43_boot_work(struct work_struct *work)switch (devid) {case CS42L43_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43_DEVID_VAL ); +break ;case CS42L43B_DEVID_VAL : -if (devid != cs42l43->variant_id) { -dev_err (cs42l43->dev, -"Device ID (0x%06x) does not match variant ID (0x%06lx)\n" , - devid, cs42l43->variant_id); - goto err; - } +case CS42L44_DEVID_VAL : + valid_id = (cs42l43->variant_id ==CS42L43B_DEVID_VAL );break ;default :dev_err (cs42l43->dev,"Unrecognised devid: 0x%06x\n" , devid); goto err; } +if (!valid_id) { +dev_err (cs42l43->dev, +"Device ID (0x%06x) does not match variant ID (0x%06lx)\n" , + devid, cs42l43->variant_id); + goto err; + } + ret =regmap_read (cs42l43->regmap,CS42L43_REVID , &revid);if (ret) {dev_err (cs42l43->dev,"Failed to read rev: %d\n" , ret);include/linux/mfd/cs42l43-regs.h +1
-0@@ -1183,6 +1183,7 @@/* CS42L43B VARIANT REGISTERS */ #define CS42L43B_DEVID_VAL 0x0042A43B +#define CS42L44_DEVID_VAL 0x00042A44#define CS42L43B_DECIM_VOL_CTRL_CH1_CH2 0x00008280#define CS42L43B_DECIM_VOL_CTRL_CH3_CH4 0x00008284Signature · 1 line
2.47.3
Signature · 1 line
Lee Jones
Re: [PATCH 3/3] mfd: cs42l43: Add support for new cs42l44 variant
Quoted 13 lines · Lee Jones
Quoted 10 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b. Add basic support for this new device.
Signed-off-by Charles Keepax <[email protected]>--- drivers/mfd/cs42l43-i2c.c | 2 ++ drivers/mfd/cs42l43-sdw.c | 1 + drivers/mfd/cs42l43.c | 18 ++++++++++++------ include/linux/mfd/cs42l43-regs.h | 1 + 4 files changed, 16 insertions(+), 6 deletions(-)
Quoted 2 lines
Doesn't apply anymore, sorry. Please rebase.
No problem I think that is my doing not yours, I based the series on patches from Uwe's series:
[PATCH v3 00/23] mfd: Use named initializers for arrays of *_device_data
https://lore.kernel.org/lkml/[email protected]/#t
As that series updates all the device id tables and is much bigger than mine seemed easier if I rebased onto it, rather than making him rebase. My rough plan was to resend this once Uwe's series was sorted out.
Thanks,
Charles
Re: (subset) [PATCH 3/3] mfd: cs42l43: Add support for new cs42l44 variant
In reply to Charles KeepaxQuoted 2 lines · Charles Keepax
The cs42l44 is a cost optimised variant of cs42l43b. Add basic support for this new device.
Applied, thanks!
[3/3] mfd: cs42l43: Add support for new cs42l44 variant
commit: c34a67075946407d6dc6400a26f6c87a3ff9ed52
--
Lee Jones [李琼斯]
Mark Brown
maintainerQuoted 9 lines · Charles Keepax
This series add support for the cs42l44 to the cs42l43 driver.
I have based these patches on the series by Uwe from here:
https://lore.kernel.org/lkml/[email protected]/
Since they both touch the device id arrays, does mean Uwe's series will need to be merged before these but probably simpler this way round as his series is a lot bigger.
This doesn't apply, please resend whenver there is something it can be applied against.