emmc_ipanic: Do not warn about harmless notifications
authorDavid Weinehall <david.weinehall@intel.com>
Fri, 27 Apr 2012 06:36:36 +0000 (09:36 +0300)
committerbuildbot <buildbot@intel.com>
Fri, 4 May 2012 12:44:53 +0000 (05:44 -0700)
commit6c8b543e4599fd41946d0595aba8ed8904cba892
tree08e5b97cd9c0866b785d10153deeed8e4945aa9d
parentb9639ddbcdea2f11c0b15c3a9a8cd99dbe39d181
emmc_ipanic: Do not warn about harmless notifications

BZ: 23560

The notification handler currently prints error messages of
severity KERN_EMERG for any unknown notifications.  There are currently
two perfectly valid notifications that we don't need to process,
so ignore these explicitly, and lower the severity to KERN_ERR for the
notifications that we don't known about currently.  Since the driver
does not break from receiving unknown notifications this is not
an emergency.

Change-Id: If6dc43ae551925d26cdfce1180c8adb8fc24d80d
Signed-off-by: David Weinehall <david.weinehall@intel.com>
Reviewed-on: http://android.intel.com:8080/46558
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Guerard, Christophe <christophe.guerard@intel.com>
Tested-by: Zhang, Dongxing <dongxing.zhang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/misc/emmc_ipanic.c