Skip to content

Commit 92b2bc4

Browse files
committed
media: atomisp: use different dfs failed messages
There are several parts of the driver that could produce a "dfs failed!" message. Change the texts, in order to help identifying from where they're coming. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 469a730 commit 92b2bc4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

drivers/staging/media/atomisp/pci/atomisp_cmd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,10 +1407,10 @@ static void __atomisp_css_recover(struct atomisp_device *isp, bool isp_timeout)
14071407
atomisp_css_valid_sof(isp));
14081408

14091409
if (atomisp_freq_scaling(isp, ATOMISP_DFS_MODE_AUTO, true) < 0)
1410-
dev_dbg(isp->dev, "dfs failed!\n");
1410+
dev_dbg(isp->dev, "DFS auto failed while recovering!\n");
14111411
} else {
14121412
if (atomisp_freq_scaling(isp, ATOMISP_DFS_MODE_MAX, true) < 0)
1413-
dev_dbg(isp->dev, "dfs failed!\n");
1413+
dev_dbg(isp->dev, "DFS max failed while recovering!\n");
14141414
}
14151415

14161416
for (i = 0; i < isp->num_of_streams; i++) {

drivers/staging/media/atomisp/pci/atomisp_ioctl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,15 +1810,15 @@ static int atomisp_streamon(struct file *file, void *fh,
18101810
if (atomisp_streaming_count(isp) > 1) {
18111811
if (atomisp_freq_scaling(isp,
18121812
ATOMISP_DFS_MODE_MAX, false) < 0)
1813-
dev_dbg(isp->dev, "dfs failed!\n");
1813+
dev_dbg(isp->dev, "DFS max mode failed!\n");
18141814
} else {
18151815
if (atomisp_freq_scaling(isp,
18161816
ATOMISP_DFS_MODE_AUTO, false) < 0)
1817-
dev_dbg(isp->dev, "dfs failed!\n");
1817+
dev_dbg(isp->dev, "DFS auto mode failed!\n");
18181818
}
18191819
} else {
18201820
if (atomisp_freq_scaling(isp, ATOMISP_DFS_MODE_MAX, false) < 0)
1821-
dev_dbg(isp->dev, "dfs failed!\n");
1821+
dev_dbg(isp->dev, "DFS max mode failed!\n");
18221822
}
18231823

18241824
if (asd->depth_mode->val && atomisp_streaming_count(isp) ==

0 commit comments

Comments
 (0)