Since 9820, a debugging feature has been changed
from Exynos snapshot to Debug snapshot.
This is a new porting of Debug snapshot
Change-Id: I671485ed64629c2d00504b13058bcfa0a9282447
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
#include <linux/property.h>
#include <linux/rwsem.h>
#include <linux/slab.h>
+#include <linux/debug-snapshot.h>
#include "i2c-core.h"
i2c_lock_bus(adap, I2C_LOCK_SEGMENT);
}
+ dbg_snapshot_i2c(adap, msgs, num, DSS_FLAG_IN);
ret = __i2c_transfer(adap, msgs, num);
+ dbg_snapshot_i2c(adap, msgs, num, DSS_FLAG_OUT);
i2c_unlock_bus(adap, I2C_LOCK_SEGMENT);
return ret;