watchdog: xilinx_wwdt: Add check for timeout limit and set maximum value if exceeded
commit 5f8b641b10ca2c974955c1035447bc1145bdbbc8 from https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v6.6 Current implementation fails to verify if the user input such as timeout or closed window percentage exceeds the maximum value that the hardware supports. Maximum timeout is derived based on input clock frequency. If the user input timeout exceeds the maximum timeout supported, limit the timeout to maximum supported value. Limit the close and open window percent to hardware supported value. Signed-off-by:Harini T <harini.t@amd.com> Link: https://lore.kernel.org/r/20240319111219.21094-1-harini.t@amd.com State: waiting Signed-off-by:
Quanyang Wang <quanyang.wang@windriver.com>
Loading
Please register or sign in to comment