Change vib seq id according
to framework layer
Change-Id: Id14f6509203956d74ae1047bec154360a4478e27
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1302007
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
return count;
aw8695->duration = val;
-printk(KERN_ERR "david %s,duration:%d\n",__func__,val);
return count;
}
rc = kstrtouint(buf, 0, &val);
if (rc < 0)
return rc;
-
+ val = ((val >> 24) -2) ;
pr_debug("%s: value=%x\n", __FUNCTION__, val);
- printk(KERN_ERR "david %s seq value:%d\n",__func__,val);
mutex_lock(&aw8695->lock);
for(i=0; i<4; i++) {
aw8695->seq[i] = (val>>((AW8695_WAV_SEQ_SIZE-i-1)*8))&0xFF;