tzcom: Implement abort and cleanup of driver

Add a new IOCTL call to the driver to properly
abort all threads blocked on wait queues. Updated
release call for proper cleanup.

CRs-fixed: 303637, 304152
Signed-off-by: Sachin Shah <sachins@codeaurora.org>
This commit is contained in:
Sachin Shah
2011-09-12 20:31:02 -07:00
committed by Bryan Huntsman
parent e0b11453c1
commit d7e02d4d60
2 changed files with 111 additions and 4 deletions

View File

@@ -98,4 +98,6 @@ struct tzcom_cont_cmd_op_req {
#define TZCOM_IOCTL_CONTINUE_CMD_REQ \
_IOWR(TZCOM_IOC_MAGIC, 5, struct tzcom_cont_cmd_op_req)
#define TZCOM_IOCTL_ABORT_REQ _IO(TZCOM_IOC_MAGIC, 6)
#endif /* __TZCOM_H_ */