ipc: Added support for IPC interrupt mode
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Sat, 16 Nov 2013 00:21:54 +0000 (16:21 -0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 21 Nov 2013 01:16:21 +0000 (20:16 -0500)
commited12f295bfd5c378970106891f12999589aec4e5
treef98475306d6404a1dcc35370b88ed810e30c4494
parentc7094d1d994c23950d8a55d33dcb7ed6d9b13f8f
ipc: Added support for IPC interrupt mode

This patch adds support for ipc command interrupt mode.
Also added platform data option to select 'irq_mode'

irq_mode = 1: configure the driver to receive IOC interrupt
for each successful ipc_command.

irq_mode = 0: makes driver use polling method to
track the command completion status.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/intel_scu_ipc.c