x86, intel-mid: sfi_handle_*_dev() should check for pdata error code
authorDavid Cohen <david.a.cohen@linux.intel.com>
Thu, 16 Jan 2014 23:07:02 +0000 (15:07 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 16 Jan 2014 23:06:29 +0000 (15:06 -0800)
When Intel MID finds a match between SFI table from FW and registered
SFI devices, it will always register a device regardless the platform
code was successful or not.

This patch adds an extra option for platform code to return error code
and abort device registration on SFI table parsing.

This patch does not contain any functional changes for current intel
mid platform code.

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Link: http://lkml.kernel.org/r/1389913624-9149-2-git-send-email-david.a.cohen@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

No differences found