diff options
Diffstat (limited to 'firmware/target/arm/as3525/ascodec-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/ascodec-as3525.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/ascodec-as3525.c b/firmware/target/arm/as3525/ascodec-as3525.c index 39658c0637..405acf3ca0 100644 --- a/firmware/target/arm/as3525/ascodec-as3525.c +++ b/firmware/target/arm/as3525/ascodec-as3525.c | |||
@@ -357,8 +357,10 @@ static void ascodec_wait(struct ascodec_request *req) | |||
357 | static void ascodec_async_write(unsigned int index, unsigned int value, | 357 | static void ascodec_async_write(unsigned int index, unsigned int value, |
358 | struct ascodec_request *req) | 358 | struct ascodec_request *req) |
359 | { | 359 | { |
360 | #ifndef HAVE_AS3543 | ||
360 | if (index == AS3514_CVDD_DCDC3) /* prevent setting of the LREG_CP_not bit */ | 361 | if (index == AS3514_CVDD_DCDC3) /* prevent setting of the LREG_CP_not bit */ |
361 | value &= ~(1 << 5); | 362 | value &= ~(1 << 5); |
363 | #endif | ||
362 | 364 | ||
363 | ascodec_req_init(req, ASCODEC_REQ_WRITE, index, 1); | 365 | ascodec_req_init(req, ASCODEC_REQ_WRITE, index, 1); |
364 | req->data[0] = value; | 366 | req->data[0] = value; |