diff options
author | Vijay Mali <vmali@nvidia.com> | 2013-06-08 13:13:13 +0530 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-06-11 17:33:00 -0700 |
commit | 3a4195207f762d3ae7720d71a6e8d1f1fc9fe165 (patch) | |
tree | 494e8d4f0d18b3fc5d4ac6c9aef6dee6c91b311f | |
parent | 82eb739d26a460673de7075c2814549d5c93f4a2 (diff) |
asoc: aic326x codec: Fix compilation warnigs
Add typecast in switch statement
Bug 1274537
Change-Id: I03fbce68d449500a3f1de60798e875d5905176eb
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/237042
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
-rw-r--r-- | sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c b/sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c index 179d488f81f1..e825ee696869 100644 --- a/sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c +++ b/sound/soc/codecs/aic3xxx/aic3xxx_cfw_ops.c @@ -430,7 +430,7 @@ static void aic3xxx_cfw_dlcmds(struct cfw_state *ps, struct cfw_block *pb) if (c->cid != CFW_CMD_BRANCH_IM && c->cid != CFW_CMD_BRANCH_ID && c->cid != CFW_CMD_NOP) cond = 0; - switch (c->cid) { + switch ((int)(c->cid)) { case 0 ... (CFW_CMD_NOP - 1): ps->ops->reg_write(ps->codec, c->reg.bpod, c->reg.data); |