diff options
author | Vaibhav Agarwal <vaibhav.sr@gmail.com> | 2017-01-18 22:51:50 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 11:08:00 +0100 |
commit | 84510052d658221282e6860f2ed1c347fd51add3 (patch) | |
tree | 3df072b5878ee8b2a1378bb0c3c2f42fa7264684 /drivers/staging/greybus/spilib.c | |
parent | e965af6bb9320cda34a346717c914e1b4054d0fe (diff) |
staging: greybus: audio: Avoid less than zero check for le32 variable
mixer control->info call back function checks for -ve values to rebase
min and max values. However, le32 variable is used to fetch values from
GB module FW. Thus negative value checking is not required. Fix this!!
Signed-off-by: Vaibhav Agarwal <vaibhav.sr@gmail.com>
Acked-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus/spilib.c')
0 files changed, 0 insertions, 0 deletions