Loading drivers/soc/qcom/qbt1000.c +8 −3 Original line number Diff line number Diff line Loading @@ -401,6 +401,13 @@ static long qbt1000_ioctl(struct file *file, unsigned cmd, unsigned long arg) goto end; } if (strcmp(app.name, FP_APP_NAME)) { dev_err(drvdata->dev, "%s: Invalid app name\n", __func__); rc = -EINVAL; goto end; } if (drvdata->app_handle) { dev_err(drvdata->dev, "%s: LOAD app already loaded, unloading first\n", __func__); Loading Loading @@ -447,9 +454,7 @@ static long qbt1000_ioctl(struct file *file, unsigned cmd, unsigned long arg) pr_debug("app %s load after\n", app.name); if (!strcmp(app.name, FP_APP_NAME)) drvdata->fp_app_handle = drvdata->app_handle; break; } case QBT1000_UNLOAD_APP: Loading Loading
drivers/soc/qcom/qbt1000.c +8 −3 Original line number Diff line number Diff line Loading @@ -401,6 +401,13 @@ static long qbt1000_ioctl(struct file *file, unsigned cmd, unsigned long arg) goto end; } if (strcmp(app.name, FP_APP_NAME)) { dev_err(drvdata->dev, "%s: Invalid app name\n", __func__); rc = -EINVAL; goto end; } if (drvdata->app_handle) { dev_err(drvdata->dev, "%s: LOAD app already loaded, unloading first\n", __func__); Loading Loading @@ -447,9 +454,7 @@ static long qbt1000_ioctl(struct file *file, unsigned cmd, unsigned long arg) pr_debug("app %s load after\n", app.name); if (!strcmp(app.name, FP_APP_NAME)) drvdata->fp_app_handle = drvdata->app_handle; break; } case QBT1000_UNLOAD_APP: Loading