diff options
author | 2024-11-14 15:36:46 +0000 | |
---|---|---|
committer | 2024-11-14 15:36:46 +0000 | |
commit | 9a5a75bf1f485e2d109303a996d147b94c5e79c9 (patch) | |
tree | f931f0d17bef0b6ad980aaf3d2d8b874ef2b749c /kernel/resource.c | |
parent | Add generic AMD Soundwire machine driver for Legacy(No (diff) | |
parent | ASoC: dt-bindings: simple-mux: add idle-state property (diff) | |
download | wireguard-linux-9a5a75bf1f485e2d109303a996d147b94c5e79c9.tar.xz wireguard-linux-9a5a75bf1f485e2d109303a996d147b94c5e79c9.zip |
ASoc: simple-mux: Allow to specify an idle-state
Merge series from "Hendrik v. Raven" <h.v.raven@merzmedtech.de>:
This series adds support for the idle-state property from the mux
framework to the simple-mux audio variant. It allows to specify the state
of the mux when it is not in use.
Diffstat (limited to 'kernel/resource.c')
-rw-r--r-- | kernel/resource.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index b730bd28b422..4101016e8b20 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -459,9 +459,7 @@ int walk_system_ram_res_rev(u64 start, u64 end, void *arg, rams_size += 16; } - rams[i].start = res.start; - rams[i++].end = res.end; - + rams[i++] = res; start = res.end + 1; } |