diff options
author | Andrey Smirnov <[email protected]> | 2019-08-12 13:08:50 -0700 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2019-09-17 08:59:04 +0200 |
commit | 5870f4958ccf90f4cdf3911bade77cb72a3bf28c (patch) | |
tree | b80b2b4d892c5d09763fc20161908f1a25b55c4f /drivers/usb/cdns3 | |
parent | 42abc12464f74feb2e868fba439c713d56ef9573 (diff) |
watchdog: ziirave_wdt: Simplify ziirave_firm_write_pkt()
There no reason why ziirave_firm_write_pkt() has to take firmware
data via 'struct ihex_binrec' and it can just take address, data pointer
and data length as individual arguments. Make this change to allow us
to drastically simplify handling page crossing case by removing all of
the extra code required to split 'struct ihex_binrec' into two.
Signed-off-by: Andrey Smirnov <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Rick Ramstetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions