ASoC: tlv320aic32x4: add type to device private data struct

While this driver can already handle different device variants, the
variant information cannot be used in the driver code and therefor
cannot have different code paths depending on the device variant.

This change adds a `type` value into the `aic32x4_priv` structure, that
contains a device variant identifier, which was set when the driver was
bound to the device.

Signed-off-by: Claudius Heine <ch@denx.de>
Link: https://lore.kernel.org/r/20210617085230.1851503-2-ch@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Claudius Heine 2021-06-17 10:52:28 +02:00 • committed by Mark Brown
commit 688d47cdd9
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
4 changed files with 43 additions and 8 deletions