intel_punit_ipc: add NULL check for input parameters
authorQipeng Zha <qipeng.zha@intel.com>
Fri, 8 Jan 2016 10:32:27 +0000 (18:32 +0800)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 20 Jan 2016 01:35:49 +0000 (17:35 -0800)
commit3fae75740faff4c6a66be7131838fda3ae92e280
tree742478b6dc378ee25a6ecad69b9f2d41bf6de271
parentbb28f3d51ff5e1be541d057708011cc1efe6fae9
intel_punit_ipc: add NULL check for input parameters

intel_punit_ipc_command() maybe called when in or out
data pointers are NULL.

Signed-off-by: Qipeng Zha <qipeng.zha@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel_punit_ipc.c