mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
HID: roccat: fix Coverity CID 141438
commit 7be63f20b0
upstream.
Add missing switch breaks.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ffd4ce123e
commit
6ede31ca15
1 changed files with 4 additions and 0 deletions
|
@ -623,9 +623,13 @@ static void kovaplus_keep_values_up_to_date(struct kovaplus_device *kovaplus,
|
|||
break;
|
||||
case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI:
|
||||
kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1);
|
||||
break;
|
||||
case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SENSITIVITY:
|
||||
kovaplus->actual_x_sensitivity = button_report->data1;
|
||||
kovaplus->actual_y_sensitivity = button_report->data2;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue