diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-03-14 18:15:05 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-04-07 08:36:36 +0100 |
commit | 18595e71c57a60dcc041fe6a280b05417bc38d54 (patch) | |
tree | de40ad7ab5d0cd93bc5e257da67ca9cd26b78158 /mm/mempolicy.c | |
parent | f28334febda7f06b97dad2fa61a61831e03c88d1 (diff) |
staging:iio:cdc:ad7150: Add scale and offset to info_mask_shared_by_type
The datasheet provides these two values on the assumption they are applied
to unshift raw value. Hence shift both the offset and scale by 4
to compensate.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210314181511.531414-19-jic23@kernel.org
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions