diff --git a/drivers/misc/tri_state_key/ist_hall_ic/hall_ist8801_down.c b/drivers/misc/tri_state_key/ist_hall_ic/hall_ist8801_down.c index 15c7e59ec5f0..f2abf7b9ca14 100644 --- a/drivers/misc/tri_state_key/ist_hall_ic/hall_ist8801_down.c +++ b/drivers/misc/tri_state_key/ist_hall_ic/hall_ist8801_down.c @@ -657,7 +657,7 @@ static int ist8801_set_detection_mode(u8 mode) IRQ_TYPE_EDGE_FALLING | IRQF_ONESHOT, "ist8801_down", (void *)g_ist8801_data->client); if (err < 0) { - TRI_KEY_ERR("IRQ LINE NOT AVAILABLE!!\n"); + TRI_KEY_ERR("IRQ LINE NOT AVAILABLE!! err: %d\n", err); return -EINVAL; } irq_set_irq_wake(g_ist8801_data->irq, 1); diff --git a/drivers/misc/tri_state_key/ist_hall_ic/hall_ist8801_up.c b/drivers/misc/tri_state_key/ist_hall_ic/hall_ist8801_up.c index 9263485aa85c..7fe6a35cab95 100644 --- a/drivers/misc/tri_state_key/ist_hall_ic/hall_ist8801_up.c +++ b/drivers/misc/tri_state_key/ist_hall_ic/hall_ist8801_up.c @@ -655,7 +655,7 @@ static int ist8801_set_detection_mode(u8 mode) IRQ_TYPE_EDGE_FALLING | IRQF_ONESHOT, "ist8801_up", (void *)g_ist8801_data->client); if (err < 0) { - TRI_KEY_ERR("IRQ LINE NOT AVAILABLE!!\n"); + TRI_KEY_ERR("IRQ LINE NOT AVAILABLE!! err: %d\n", err); return -EINVAL; } irq_set_irq_wake(g_ist8801_data->irq, 1);