mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
Input: synaptics-rmi4 - add a couple of debug lines
Signed-off-by: Nick Dyer <nick@shmanahar.org> Tested-by: Chris Healy <cphealy@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
6bd0dcfacf
commit
8029a283c4
@ -231,6 +231,9 @@ err_put_device:
|
||||
|
||||
void rmi_unregister_function(struct rmi_function *fn)
|
||||
{
|
||||
rmi_dbg(RMI_DEBUG_CORE, &fn->dev, "Unregistering F%02X.\n",
|
||||
fn->fd.function_number);
|
||||
|
||||
device_del(&fn->dev);
|
||||
of_node_put(fn->dev.of_node);
|
||||
put_device(&fn->dev);
|
||||
|
@ -735,6 +735,7 @@ static int rmi_initial_reset(struct rmi_device *rmi_dev,
|
||||
return RMI_SCAN_DONE;
|
||||
}
|
||||
|
||||
rmi_dbg(RMI_DEBUG_CORE, &rmi_dev->dev, "Sending reset\n");
|
||||
error = rmi_write_block(rmi_dev, cmd_addr, &cmd_buf, 1);
|
||||
if (error) {
|
||||
dev_err(&rmi_dev->dev,
|
||||
|
Loading…
Reference in New Issue
Block a user