commit | cbf854ab36870b931aeba4edd954015b7c3005a2 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Sep 30 13:35:15 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 04 12:09:43 2015 +0100 |
tree | 07ceaff2d1e55a202a13f35e9685c27f34712432 | |
parent | 7c806883e143dc60439e6bdb3589700ebed1efaa [diff] |
nvmem: core: Handle shift bits in-place if cell->nbits is non-zero It's pointless to test (cell->bit_offset || cell->bit_offset). nvmem_shift_read_buffer_in_place() should be called when (cell->bit_offset || cell->nbits). Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>