diff options
Diffstat (limited to 'drivers/media/radio/radio-keene.c')
-rw-r--r-- | drivers/media/radio/radio-keene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-keene.c b/drivers/media/radio/radio-keene.c index 67ac72e66850..0c5d2db3b828 100644 --- a/drivers/media/radio/radio-keene.c +++ b/drivers/media/radio/radio-keene.c | |||
@@ -265,7 +265,7 @@ static int keene_s_ctrl(struct v4l2_ctrl *ctrl) | |||
265 | return keene_cmd_set(radio); | 265 | return keene_cmd_set(radio); |
266 | 266 | ||
267 | case V4L2_CID_AUDIO_COMPRESSION_GAIN: | 267 | case V4L2_CID_AUDIO_COMPRESSION_GAIN: |
268 | radio->tx = db2tx[(ctrl->val - ctrl->minimum) / ctrl->step]; | 268 | radio->tx = db2tx[(ctrl->val - (s32)ctrl->minimum) / (s32)ctrl->step]; |
269 | return keene_cmd_set(radio); | 269 | return keene_cmd_set(radio); |
270 | } | 270 | } |
271 | return -EINVAL; | 271 | return -EINVAL; |