msm: camera: eeprom: Increase memory map count
For write operation while read memory memptr should not need to increase as it leads to crash. This change removes that increase opertion. Also, increasing map count to support more data reading for eeprom. Change-Id: Ie71deb225c2513e7c18229d174a9a0e129fdd1f7 Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
This commit is contained in:
parent
146826aa41
commit
326d40f7f1
@ -70,7 +70,6 @@ static int cam_eeprom_read_memory(struct cam_eeprom_ctrl_t *e_ctrl,
|
||||
rc);
|
||||
return rc;
|
||||
}
|
||||
memptr = block->mapdata + emap[j].mem.valid_size;
|
||||
}
|
||||
|
||||
if (emap[j].pageen.valid_size) {
|
||||
|
@ -30,7 +30,7 @@
|
||||
#define PROPERTY_MAXSIZE 32
|
||||
|
||||
#define MSM_EEPROM_MEMORY_MAP_MAX_SIZE 80
|
||||
#define MSM_EEPROM_MAX_MEM_MAP_CNT 8
|
||||
#define MSM_EEPROM_MAX_MEM_MAP_CNT 100
|
||||
#define MSM_EEPROM_MEM_MAP_PROPERTIES_CNT 8
|
||||
|
||||
enum cam_eeprom_state {
|
||||
|
Loading…
Reference in New Issue
Block a user