mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge 4.6-rc7 into char-misc-testing
This resolves a merge issue with drivers/hv/ring_buffer.c Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
commit
725d0123df
583 changed files with 6157 additions and 3080 deletions
|
|
@ -94,7 +94,7 @@ static int mxs_ocotp_read(void *context, const void *reg, size_t reg_size,
|
|||
if (ret)
|
||||
goto close_banks;
|
||||
|
||||
while (val_size) {
|
||||
while (val_size >= reg_size) {
|
||||
if ((offset < OCOTP_DATA_OFFSET) || (offset % 16)) {
|
||||
/* fill up non-data register */
|
||||
*buf = 0;
|
||||
|
|
@ -103,7 +103,7 @@ static int mxs_ocotp_read(void *context, const void *reg, size_t reg_size,
|
|||
}
|
||||
|
||||
buf++;
|
||||
val_size--;
|
||||
val_size -= reg_size;
|
||||
offset += reg_size;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue