]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
misc: xilinx-sdfec: Add ADD_LDPC_CODE protection
authorDerek Kiernan <derek.kiernan@xilinx.com>
Fri, 28 Sep 2018 11:06:18 +0000 (12:06 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 1 Oct 2018 13:01:54 +0000 (15:01 +0200)
commitea63d3fe55cecb31795ffe7b066960c777556eef
tree43ec0a8a67813fb3e220ee01400c1b9e2084d3d9
parent003492d40e5a77b06e9f62d52d3318b6f179d2b4
misc: xilinx-sdfec: Add ADD_LDPC_CODE protection

For the ioctl ADD_LDPC_CODE_PARAMS increase the protection to ensure
codes cannot be added when the device has started.

Signed-off-by: Derek Kiernan <derek.kiernan@xilinx.com>
Signed-off-by: Mauro DeLuca <mauro.de-luca@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/misc/xilinx_sdfec.c