diff options
author | Matthew Leach <matthew@mattleach.net> | 2016-06-22 17:57:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 14:04:12 -0700 |
commit | bbb5ff91225dfbf3e5c27619552e41661048ed61 (patch) | |
tree | a675a32e89dca885304a9b34c581290f59515289 /.mailmap | |
parent | e37697b3f75464dbf86ecb0f480eb11581cc75d2 (diff) | |
download | linux-bbb5ff91225dfbf3e5c27619552e41661048ed61.tar.bz2 |
tty: serial: samsung: add byte-order aware bit functions
This driver makes use of the __set_bit() and __clear_bit() functions.
When running under big-endian, these functions don't convert the bit
indexes when working with peripheral registers, leading to the
incorrect bits being set and cleared when running big-endian.
Add two new driver functions for setting and clearing bits that are
byte-order aware.
Signed-off-by: Matthew Leach <matthew@mattleach.net>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions