diff options
Diffstat (limited to 'drivers/platform/tegra/nvadsp/adspff.c')
-rw-r--r-- | drivers/platform/tegra/nvadsp/adspff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/tegra/nvadsp/adspff.c b/drivers/platform/tegra/nvadsp/adspff.c index fc1ec5baf..64597c2a8 100644 --- a/drivers/platform/tegra/nvadsp/adspff.c +++ b/drivers/platform/tegra/nvadsp/adspff.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016-2021, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2022, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -650,7 +650,7 @@ int adspff_init(struct platform_device *pdev) | |||
650 | return -1; | 650 | return -1; |
651 | 651 | ||
652 | app_info = nvadsp_app_init(handle, NULL); | 652 | app_info = nvadsp_app_init(handle, NULL); |
653 | if (!app_info) { | 653 | if (IS_ERR_OR_NULL(app_info)) { |
654 | pr_err("unable to init app adspff\n"); | 654 | pr_err("unable to init app adspff\n"); |
655 | return -1; | 655 | return -1; |
656 | } | 656 | } |