lkml.org 
[lkml]   [2020]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v3 10/11] net: ethernet: ti: cpts: add support for HW_TS_PUSH events
> +static int cpts_extts_enable(struct cpts *cpts, u32 index, int on)
> +{
> + u32 v;
> +
> + if (index >= cpts->info.n_ext_ts)
> + return -ENXIO;

This check is already performed in ptp_chardev.c.

Thanks,
Richard

\
 
 \ /
  Last update: 2020-03-27 02:35    [W:0.145 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site