Use zero for the UDS port number.
Using 0xffff looks dumb in the log and in the pmc output. Signed-off-by: Richard Cochran <richardcochran@gmail.com>
This commit is contained in:
parent
420d48ce02
commit
ce745572b4
2
clock.c
2
clock.c
@ -384,7 +384,7 @@ struct clock *clock_create(int phc_index, struct interface *iface, int count,
|
||||
/*
|
||||
* One extra port is for the UDS interface.
|
||||
*/
|
||||
c->port[i] = port_open(phc_index, timestamping, 0xffff, &udsif, c);
|
||||
c->port[i] = port_open(phc_index, timestamping, 0, &udsif, c);
|
||||
if (!c->port[i]) {
|
||||
pr_err("failed to open the UDS port");
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user