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>
master
Richard Cochran 2012-08-26 15:09:15 +02:00
parent 420d48ce02
commit ce745572b4
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ struct clock *clock_create(int phc_index, struct interface *iface, int count,
/* /*
* One extra port is for the UDS interface. * 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]) { if (!c->port[i]) {
pr_err("failed to open the UDS port"); pr_err("failed to open the UDS port");
return NULL; return NULL;