diff options
author | Aniket <aniketmaurya@google.com> | 2024-07-08 06:21:02 +0000 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-07-26 14:21:30 +0200 |
commit | effd21743c39a6535f204812006054fa172e4313 (patch) | |
tree | 1e60badc7fe263298d772a7ca4379e9fe1a17817 /rust/kernel | |
parent | 4e89bc48e66a9aef46a705943d3f81bffb3a2288 (diff) |
i3c: dw: Add some functions for reusability
Separate logic for setting intr/thld registers in a func.
Also modify enable function to take care of setting all fields in DEVICE_CTRL.
These functions can be reused later for power management.
Signed-off-by: Aniket <aniketmaurya@google.com>
Link: https://lore.kernel.org/r/20240708062103.3296587-3-aniketmaurya@google.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions