mfd: ab8500-debug: Better error handling on crash
authorJonas Aaberg <jonas.aberg@stericsson.com>
Mon, 18 Jun 2012 08:35:28 +0000 (10:35 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:27:52 +0000 (12:27 +0800)
commit222460cb4b2fe1c1e84f3302a8d8dbc4a94f6837
treef2abb5061e2e4c4ba8aade141cb8ddae35ca4811
parent3e1a498f2728476535571d270081a17fdfceaf26
mfd: ab8500-debug: Better error handling on crash

Stop trying to read i2c registers if one fail.

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-debugfs.c