Merge branch 'next' into for-linus
Prepare input updates for 4.20 merge window.
This commit is contained in:
@@ -1067,7 +1067,7 @@ static int cyapa_gen3_do_operational_check(struct cyapa *cyapa)
|
||||
return error;
|
||||
}
|
||||
|
||||
/* Fallthrough state */
|
||||
/* Fall through */
|
||||
case CYAPA_STATE_BL_IDLE:
|
||||
/* Try to get firmware version in bootloader mode. */
|
||||
cyapa_gen3_bl_query_data(cyapa);
|
||||
@@ -1078,7 +1078,7 @@ static int cyapa_gen3_do_operational_check(struct cyapa *cyapa)
|
||||
return error;
|
||||
}
|
||||
|
||||
/* Fallthrough state */
|
||||
/* Fall through */
|
||||
case CYAPA_STATE_OP:
|
||||
/*
|
||||
* Reading query data before going back to the full mode
|
||||
|
@@ -99,9 +99,7 @@ static int synaptics_mode_cmd(struct psmouse *psmouse, u8 mode)
|
||||
int synaptics_detect(struct psmouse *psmouse, bool set_properties)
|
||||
{
|
||||
struct ps2dev *ps2dev = &psmouse->ps2dev;
|
||||
u8 param[4];
|
||||
|
||||
param[0] = 0;
|
||||
u8 param[4] = { 0 };
|
||||
|
||||
ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
|
||||
ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES);
|
||||
|
Reference in New Issue
Block a user