summaryrefslogtreecommitdiff
path: root/cs40l26/cs40l26.c
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2021-05-10 19:53:23 +0800
committerTai Kuo <taikuo@google.com>2021-05-12 11:06:35 +0000
commit2dbcb12e78b8694d138884b6b052f1d8c4b84be7 (patch)
treeaf62519b4abc5c878a2eef464deca1cb17c13960 /cs40l26/cs40l26.c
parentcd837712b970b463ae83d78a9fba576e0a26aa11 (diff)
downloadamplifiers-2dbcb12e78b8694d138884b6b052f1d8c4b84be7.tar.gz
cs40l26: fix BB for CirrusLogic RC2v1
The CS40L26_TIMEOUT_MS_MAX definition is over __u16 while the replay.lenght type is __u16. It will makes the comparison at cs40l26.c:2155:26 always false and results in the build break. Bug: 184610991 Test: Built pass. Test: Device attributes were shown. Tets: Able to perform internal calibration through vendor's script of b/180110149#comment36 (1.1 F0, ReDC, and Q-factor estimation). Signed-off-by: Tai Kuo <taikuo@google.com> Change-Id: I1c5d409a8e6767cf6f772cc839907c3a27537d1b
Diffstat (limited to 'cs40l26/cs40l26.c')
-rw-r--r--cs40l26/cs40l26.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cs40l26/cs40l26.c b/cs40l26/cs40l26.c
index 8770a06..3b990db 100644
--- a/cs40l26/cs40l26.c
+++ b/cs40l26/cs40l26.c
@@ -2291,8 +2291,6 @@ static int cs40l26_input_init(struct cs40l26_private *cs40l26)
hrtimer_init(&cs40l26->vibe_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
cs40l26->vibe_timer.function = cs40l26_vibe_timer;
-
-
ret = sysfs_create_group(&cs40l26->input->dev.kobj,
&cs40l26_dev_attr_group);
if (ret) {