Commit af12e64
mmc: mmci: Fix device_node reference leak in of_get_dml_pipe_index()
When calling of_parse_phandle_with_args(), the caller is responsible
to call of_node_put() to release the reference of device node.
In of_get_dml_pipe_index(), it does not release the reference.
Fixes: 9cb1514 ("mmc: mmci: Add qcom dml support to the driver.")
Signed-off-by: Felix Gu <[email protected]>
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>1 parent 6de23f8 commit af12e64
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments