diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-09-30 15:35:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 14:09:43 +0300 |
commit | cbf854ab36870b931aeba4edd954015b7c3005a2 (patch) | |
tree | 07ceaff2d1e55a202a13f35e9685c27f34712432 /drivers/media/mmc | |
parent | 7c806883e143dc60439e6bdb3589700ebed1efaa (diff) | |
download | linux-cbf854ab36870b931aeba4edd954015b7c3005a2.tar.xz |
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>
Diffstat (limited to 'drivers/media/mmc')
0 files changed, 0 insertions, 0 deletions