Loading drivers/soc/qcom/qbt1000.c +8 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ enum sensor_connection_types { * user space will provide new value upon tz app load */ static uint32_t g_app_buf_size = SZ_256K; static char const *const FP_APP_NAME = "fingerpr"; struct qbt1000_drvdata { struct class *qbt1000_class; Loading Loading @@ -794,6 +795,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
drivers/soc/qcom/qbt1000.c +8 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ enum sensor_connection_types { * user space will provide new value upon tz app load */ static uint32_t g_app_buf_size = SZ_256K; static char const *const FP_APP_NAME = "fingerpr"; struct qbt1000_drvdata { struct class *qbt1000_class; Loading Loading @@ -794,6 +795,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