mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
qseecom: initialize data->type on device open
Bug: 28747998 Bug: 29821509 Bug: 29872309 Change-Id: I7ac85fa7aa2904d7975a70f3b68a2288656a2aff
This commit is contained in:
parent
dc18eac80c
commit
ad29d11ee3
1 changed files with 1 additions and 0 deletions
|
@ -2359,6 +2359,7 @@ static int qseecom_open(struct inode *inode, struct file *file)
|
|||
}
|
||||
file->private_data = data;
|
||||
data->abort = 0;
|
||||
data->type = QSEECOM_GENERIC;
|
||||
data->service = false;
|
||||
data->released = false;
|
||||
init_waitqueue_head(&data->abort_wq);
|
||||
|
|
Loading…
Reference in a new issue