The devm_clk_get and devm_reset_control_get_exclusive functions will
keep a reference to the given bulk data structure and use it for
automatic resource management. This will obviously not work when the
structure is allocated on the stack.
Signed-off-by: Emil Renner Berthing <email address hidden>
(cherry picked from commit 30bce77ab3ca80de489831e11be31e2fac2cc8fb https://github.com/starfive-tech/linux/commits/visionfive)
Signed-off-by: Dimitri John Ledkov <email address hidden>
29b742f...
by
Emil Renner Berthing <email address hidden>
UBUNTU: SAUCE: ASoC: starfive: pwmdac: Fix bulk API usage
The devm_clk_get and devm_reset_control_get_exclusive functions will
keep a reference to the given bulk data structure and use it for
automatic resource management. This will obviously not work when the
structure is allocated on the stack.
Signed-off-by: Emil Renner Berthing <email address hidden>
(cherry picked from commit e777b0aaff7f9cba0789708e1c7d6b0a82535a8f https://github.com/starfive-tech/linux/commits/visionfive)
Signed-off-by: Dimitri John Ledkov <email address hidden>
94e6da2...
by
Emil Renner Berthing <email address hidden>
UBUNTU: SAUCE: watchdog: starfive-wdt: Various cleanups
The devm_reset_control_get_exclusive function will keep a reference to
the given clk_bulk_data struct and use it for automatic resource
management. This will obviously not work when the clk_bulk_data is
allocated on the stack.
Signed-off-by: Emil Renner Berthing <email address hidden>
(cherry picked from commit b15b5948d6c165df4353bb0d7d0d05ef2e380799 https://github.com/starfive-tech/linux/commits/visionfive)
Signed-off-by: Dimitri John Ledkov <email address hidden>
9f542b4...
by
Emil Renner Berthing <email address hidden>
UBUNTU: SAUCE: drm/starfive: Use dev_err_probe in error path
The devm_reset_control_get_exclusive function will keep a reference to
the given clk_bulk_data struct and use it for automatic resource
management. This will obviously not work when the clk_bulk_data is
allocated on the stack.
Signed-off-by: Emil Renner Berthing <email address hidden>
(cherry picked from commit a34a2e5c1a8f2de35c4d220bc4ff3fee8954b245 https://github.com/starfive-tech/linux/commits/visionfive)
Signed-off-by: Dimitri John Ledkov <email address hidden>