diff options
author | Raag Jadav <raag.jadav@intel.com> | 2023-10-03 13:48:24 +0530 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-10-03 16:29:30 +0300 |
commit | 1209d59070b577c6319f4aef322093a434544c7e (patch) | |
tree | 04cafa0402a6bd1cdecc45b9b1dfa3bf5cbaeb0b /ipc | |
parent | f29047a09b5ed3265a5af68626e40ff772e5e07e (diff) |
pinctrl: intel: refine intel_config_set_pull() function
Improve intel_config_set_pull() implementation in Intel pinctrl driver by:
- Reducing scope of spinlock by moving unneeded operations out of it.
- Utilizing temporary variables for common operations.
- Limiting IO operations to positive cases.
Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions