aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2013-11-03 01:25:33 -0400
committerJiri Kosina <jkosina@suse.cz>2013-11-04 04:55:20 -0500
commit7be63f20b00840a6f1c718dcee00855688d64acd (patch)
tree141951ff789fe029b2800de87815536c30294485 /drivers/hid
parent6f3a19360545bf8c646a4d079a8c023ae06838de (diff)
HID: roccat: fix Coverity CID 141438
Add missing switch breaks. Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-roccat-kovaplus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hid/hid-roccat-kovaplus.c b/drivers/hid/hid-roccat-kovaplus.c
index 0c8e1ef0b67d..966047711fbf 100644
--- a/drivers/hid/hid-roccat-kovaplus.c
+++ b/drivers/hid/hid-roccat-kovaplus.c
@@ -554,9 +554,13 @@ static void kovaplus_keep_values_up_to_date(struct kovaplus_device *kovaplus,
554 break; 554 break;
555 case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI: 555 case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI:
556 kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1); 556 kovaplus->actual_cpi = kovaplus_convert_event_cpi(button_report->data1);
557 break;
557 case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SENSITIVITY: 558 case KOVAPLUS_MOUSE_REPORT_BUTTON_TYPE_SENSITIVITY:
558 kovaplus->actual_x_sensitivity = button_report->data1; 559 kovaplus->actual_x_sensitivity = button_report->data1;
559 kovaplus->actual_y_sensitivity = button_report->data2; 560 kovaplus->actual_y_sensitivity = button_report->data2;
561 break;
562 default:
563 break;
560 } 564 }
561} 565}
562 566