Skip to content

Commit 635eac1

Browse files
pH5broonie
authored andcommitted
ASoC: stm32: explicitly request exclusive reset control
Commit a53e35d ("reset: Ensure drivers are explicit when requesting reset lines") started to transition the reset control request API calls to explicitly state whether the driver needs exclusive or shared reset control behavior. Convert all drivers requesting exclusive resets to the explicit API call so the temporary transition helpers can be removed. No functional changes. Cc: Liam Girdwood <[email protected]> Cc: Mark Brown <[email protected]> Cc: Maxime Coquelin <[email protected]> Cc: Alexandre Torgue <[email protected]> Cc: [email protected] Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 5771a8c commit 635eac1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sound/soc/stm/stm32_i2s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ static int stm32_i2s_parse_dt(struct platform_device *pdev,
840840
}
841841

842842
/* Reset */
843-
rst = devm_reset_control_get(&pdev->dev, NULL);
843+
rst = devm_reset_control_get_exclusive(&pdev->dev, NULL);
844844
if (!IS_ERR(rst)) {
845845
reset_control_assert(rst);
846846
udelay(2);

sound/soc/stm/stm32_sai.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static int stm32_sai_probe(struct platform_device *pdev)
8585
}
8686

8787
/* reset */
88-
rst = reset_control_get(&pdev->dev, NULL);
88+
rst = reset_control_get_exclusive(&pdev->dev, NULL);
8989
if (!IS_ERR(rst)) {
9090
reset_control_assert(rst);
9191
udelay(2);

sound/soc/stm/stm32_spdifrx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ static int stm32_spdifrx_probe(struct platform_device *pdev)
930930
return ret;
931931
}
932932

933-
rst = devm_reset_control_get(&pdev->dev, NULL);
933+
rst = devm_reset_control_get_exclusive(&pdev->dev, NULL);
934934
if (!IS_ERR(rst)) {
935935
reset_control_assert(rst);
936936
udelay(2);

0 commit comments

Comments
 (0)