* @filp: file handle to SEP device
*
* Open method for the SEP device. Called when userspace opens
- * the SEP device node.
+ * the SEP device node.
*
* Returns zero on success otherwise an error code.
*/
info_entry_ptr->bus_address =
sep_shared_area_virt_to_bus(sep,
in_lli_table_ptr);
- info_entry_ptr->block_size =
+ info_entry_ptr->block_size =
((num_entries_in_table) << 24) |
(table_data_size);
}
error = sep_lock_user_pages(sep, app_virt_in_addr,
data_size, &lli_in_array, SEP_DRIVER_IN_FLAG);
if (error) {
- dev_warn(&sep->pdev->dev,
+ dev_warn(&sep->pdev->dev,
"sep_lock_user_pages for input virtual buffer failed\n");
goto end_function;
}
}
/**
- * sep_prepare_dcb_handler - prepare a control block
+ * sep_prepare_dcb_handler - prepare a control block
* @sep: pointer to struct sep_device
* @arg: pointer to user parameters
*
}
/**
- * sep_rar_prepare_output_msg_handler - prepare an output message
+ * sep_rar_prepare_output_msg_handler - prepare an output message
* @sep: pointer to struct sep_device
* @arg: pointer to user parameters
*
if (error == 0)
/* Success */
return 0;
-
+
end_function_free_irq:
free_irq(pdev->irq, sep);
/**
- * sep_exit - called to unload driver
+ * sep_exit - called to unload driver
*
* Drop the misc devices then remove and unmap the various resources
* that are not released by the driver remove method.