ptp: fix missing break in switch
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 18 Jul 2018 01:17:33 +0000 (20:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 22:25:25 +0000 (15:25 -0700)
commit9ba8376ce1e2cbf4ce44f7e4bee1d0648e10d594
tree31483ce274788fcc3c4ef1ae8faa4895c329aa65
parent6b81b193b83e87da1ea13217d684b54fccf8ee8a
ptp: fix missing break in switch

It seems that a *break* is missing in order to avoid falling through
to the default case. Otherwise, checking *chan* makes no sense.

Fixes: 72df7a7244c0 ("ptp: Allow reassigning calibration pin function")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_chardev.c