[PATCH] of/i2c: check status property for i2c client

2012-11-21 Thread Bongkyu Kim
Because of_i2c_register_devices() do not check status property, all i2c clients are registered. This patch add checking status property for i2c client. After this patch, if status property is absent or "okay" or "ok", i2c client will be registered. Signed-off-by: Bongkyu

[PATCH] of/i2c: support more interrupt specifiers

2012-11-21 Thread Bongkyu Kim
This patch supports more interrupt specifiers for i2c client. Signed-off-by: Bongkyu Kim --- drivers/of/of_i2c.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c index 3550f3b..c6d9b7e 100644 --- a/drivers/of/of_i2c.c +++ b

Re: [PATCH] of/i2c: support more interrupt specifiers

2012-11-25 Thread Bongkyu Kim
On 11/21/2012 10:41 PM, Rob Herring wrote: > On 11/21/2012 02:58 AM, Bongkyu Kim wrote: >> This patch supports more interrupt specifiers for i2c client. > > Why? > If we are registering a device has 2 interrupts like the below, i2c@f9968000 {

[PATCH] lz4: fix wrong compress buffer size for 64-bits

2015-11-18 Thread Bongkyu Kim
, lz4hc needs only (256kb + 2 * pointer) on both. This patch fixes these wrong compress buffer sizes for 64-bits. Cc: Chanho Min Cc: Yann Collet Cc: Kyungsik Lee Signed-off-by: Bongkyu Kim --- include/linux/lz4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include

[PATCH] dm verity: deferred hash checking for restart/logging mode

2017-04-24 Thread Bongkyu Kim
ta is tampered, this data will not return -EIO, and can be transferred to user process. But, device will be rebooted after hash verification. After rebooting, device will work with EIO mode. In my opinion, this is enough for gurantee integrity by each power cycles. Signed-off-by: Bongkyu Kim --- dr