diff options
author | Swapnil Jakhade <sjakhade@cadence.com> | 2020-02-06 07:10:55 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2020-03-20 19:34:29 +0530 |
commit | 21c79146a1bbc6310dc7dcf085c5ab5b0a553fcb (patch) | |
tree | 0628fbd915330083b105eadc6a633de3f894641c /lib/test-string_helpers.c | |
parent | f61b3aed20003ec27960dde50ceaea04479d1f07 (diff) |
phy: cadence-torrent: Refactor code for reusability
Add a separate function to set different power state values.
Use uniform polling timeout value. Also check return values
of functions for proper error handling.
Signed-off-by: Swapnil Jakhade <sjakhade@cadence.com>
Signed-off-by: Yuti Amonkar <yamonkar@cadence.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions