diff options
| author | Yong Zhi <[email protected]> | 2019-11-04 22:09:59 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-11-05 18:52:41 +0000 |
| commit | e44f3d49f900c645af434a3a1dfdbfb79c4a7851 (patch) | |
| tree | bb7824d80570da5bf4c74dc92e99905376242b32 /sound/core/pcm_memory.c | |
| parent | ASoC: stm32: sai: add restriction on mmap support (diff) | |
| download | kernel-e44f3d49f900c645af434a3a1dfdbfb79c4a7851.tar.gz kernel-e44f3d49f900c645af434a3a1dfdbfb79c4a7851.zip | |
ASoC: max98373: replace gpio_request with devm_gpio_request
Use devm_gpio_request() to automatic unroll when fails and avoid
resource leaks at error paths.
Signed-off-by: Yong Zhi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/core/pcm_memory.c')
0 files changed, 0 insertions, 0 deletions
