Commit 39a0d75a authored by Benjamin Tissoires's avatar Benjamin Tissoires Committed by Dmitry Torokhov

Input: elan_i2c - always output the device information

it's always easier to retrieve these information in bug reports when
it is always printed in the dmesg.
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent ea4348c8
...@@ -1093,19 +1093,18 @@ static int elan_probe(struct i2c_client *client, ...@@ -1093,19 +1093,18 @@ static int elan_probe(struct i2c_client *client,
if (error) if (error)
return error; return error;
dev_info(&client->dev,
"Elan Touchpad: Module ID: 0x%04x, Firmware: 0x%04x, Sample: 0x%04x, IAP: 0x%04x\n",
data->product_id,
data->fw_version,
data->sm_version,
data->iap_version);
dev_dbg(&client->dev, dev_dbg(&client->dev,
"Elan Touchpad Information:\n" "Elan Touchpad Extra Information:\n"
" Module product ID: 0x%04x\n"
" Firmware Version: 0x%04x\n"
" Sample Version: 0x%04x\n"
" IAP Version: 0x%04x\n"
" Max ABS X,Y: %d,%d\n" " Max ABS X,Y: %d,%d\n"
" Width X,Y: %d,%d\n" " Width X,Y: %d,%d\n"
" Resolution X,Y: %d,%d (dots/mm)\n", " Resolution X,Y: %d,%d (dots/mm)\n",
data->product_id,
data->fw_version,
data->sm_version,
data->iap_version,
data->max_x, data->max_y, data->max_x, data->max_y,
data->width_x, data->width_y, data->width_x, data->width_y,
data->x_res, data->y_res); data->x_res, data->y_res);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment