]> git.baikalelectronics.ru Git - kernel.git/commit
intel_scu_ipc: Oops/crash fixes
authorSreedhara DS <sreedhara.ds@intel.com>
Mon, 19 Jul 2010 08:37:42 +0000 (09:37 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 19 Jul 2010 20:17:37 +0000 (13:17 -0700)
commit7aed311fbebc32b055d9fcae22b342297f501de3
tree12d55f40767af5841778b858e3b1085d18bb130c
parent4ed49cd7cfc9a4242e6ad8527cfb8402a51f1494
intel_scu_ipc: Oops/crash fixes

- fix reversing of command/sub arguments
- fix a crash if the i2c interface is called before the device is found

Signed-off-by: Sreedhara DS <sreedhara.ds@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/platform/x86/intel_scu_ipc.c