Commit 0ecad248 authored by Juan David González Cobas's avatar Juan David González Cobas Committed by Alessandro Rubini

export repetition counter via sysfs

parent a30fce2d
......@@ -208,6 +208,10 @@ static int fd_zio_info_output(struct device *dev, struct zio_attribute *zattr,
*usr_val = fd_ch_readl(fd, ch, FD_REG_F_DELTA);
return 0;
}
if (zattr->id == FD_ATTR_OUT_REP) {
*usr_val = FD_RCR_REP_CNT_R(fd_ch_readl(fd, ch, FD_REG_RCR));
return 0;
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment