projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
codecs
/
cs42l73.c
diff --git
a/sound/soc/codecs/cs42l73.c
b/sound/soc/codecs/cs42l73.c
index a8f468689d26182857d0dc4faf341161e4ea461e..42a8fd4e1f9b3f284d6dcc01dc67cf6475d5a192 100644
(file)
--- a/
sound/soc/codecs/cs42l73.c
+++ b/
sound/soc/codecs/cs42l73.c
@@
-161,11
+161,10
@@
static bool cs42l73_readable_register(struct device *dev, unsigned int reg)
}
}
}
}
-static const unsigned int hpaloa_tlv[] = {
- TLV_DB_RANGE_HEAD(2),
+static const DECLARE_TLV_DB_RANGE(hpaloa_tlv,
0, 13, TLV_DB_SCALE_ITEM(-7600, 200, 0),
0, 13, TLV_DB_SCALE_ITEM(-7600, 200, 0),
- 14, 75, TLV_DB_SCALE_ITEM(-4900, 100, 0)
,
-
}
;
+ 14, 75, TLV_DB_SCALE_ITEM(-4900, 100, 0)
+
)
;
static DECLARE_TLV_DB_SCALE(adc_boost_tlv, 0, 2500, 0);
static DECLARE_TLV_DB_SCALE(adc_boost_tlv, 0, 2500, 0);
@@
-175,11
+174,10
@@
static DECLARE_TLV_DB_SCALE(ipd_tlv, -9600, 100, 0);
static DECLARE_TLV_DB_SCALE(micpga_tlv, -600, 50, 0);
static DECLARE_TLV_DB_SCALE(micpga_tlv, -600, 50, 0);
-static const unsigned int limiter_tlv[] = {
- TLV_DB_RANGE_HEAD(2),
+static const DECLARE_TLV_DB_RANGE(limiter_tlv,
0, 2, TLV_DB_SCALE_ITEM(-3000, 600, 0),
0, 2, TLV_DB_SCALE_ITEM(-3000, 600, 0),
- 3, 7, TLV_DB_SCALE_ITEM(-1200, 300, 0)
,
-
}
;
+ 3, 7, TLV_DB_SCALE_ITEM(-1200, 300, 0)
+
)
;
static const DECLARE_TLV_DB_SCALE(attn_tlv, -6300, 100, 1);
static const DECLARE_TLV_DB_SCALE(attn_tlv, -6300, 100, 1);