aboutsummaryrefslogtreecommitdiff
path: root/drivers/ptp/ptp_chardev.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-07-25 17:34:06 +0100
committerMark Brown <broonie@kernel.org>2018-07-25 17:34:06 +0100
commitec665af5dd517c60ea1fbe791f6c8ecc443a61b6 (patch)
treeadfe7a2578ecde6d65e927afe65b289efb458ab1 /drivers/ptp/ptp_chardev.c
parent46543af4c9edc5701729b24dd395c23a40871aa9 (diff)
parentf952480a8fc14ea24a4de9582e425924f98c92d3 (diff)
Merge tag 'v4.14.58' into linux-linaro-lsk-v4.14lsk-v4.14-18.07
This is the 4.14.58 stable release
Diffstat (limited to 'drivers/ptp/ptp_chardev.c')
-rw-r--r--drivers/ptp/ptp_chardev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ptp/ptp_chardev.c b/drivers/ptp/ptp_chardev.c
index 58a97d420572..51364621f77c 100644
--- a/drivers/ptp/ptp_chardev.c
+++ b/drivers/ptp/ptp_chardev.c
@@ -89,6 +89,7 @@ int ptp_set_pinfunc(struct ptp_clock *ptp, unsigned int pin,
case PTP_PF_PHYSYNC:
if (chan != 0)
return -EINVAL;
+ break;
default:
return -EINVAL;
}