mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
This commit is contained in:
@@ -17,12 +17,13 @@ config KEYS_RK29
|
||||
default y
|
||||
help
|
||||
rk29 keyboard drivers(gpio and adc)
|
||||
|
||||
config SYNAPTICS_SO340010
|
||||
tristate "Synaptics So340010 TouchPad KEY"
|
||||
depends on ARCH_RK29
|
||||
default y
|
||||
depends on I2C
|
||||
help
|
||||
"Synaptics So340010 Touch Key (I2C) driver"
|
||||
|
||||
config KEYBOARD_AAED2000
|
||||
tristate "AAED-2000 keyboard"
|
||||
depends on MACH_AAED2000
|
||||
|
||||
@@ -216,8 +216,8 @@ static void mtd_panic_erase(void)
|
||||
struct apanic_data *ctx = &drv_ctx;
|
||||
#ifdef CONFIG_MTD_RKNAND
|
||||
size_t wlen;
|
||||
memset(ctx->bounce, 0, sizeof(struct panic_header));
|
||||
ctx->mtd->write(ctx->mtd, 0, sizeof(struct panic_header), &wlen, ctx->bounce);
|
||||
memset(ctx->bounce, 0, ctx->mtd->writesize);
|
||||
ctx->mtd->write(ctx->mtd, 0, ctx->mtd->writesize, &wlen, ctx->bounce);
|
||||
#else
|
||||
struct erase_info erase;
|
||||
DECLARE_WAITQUEUE(wait, current);
|
||||
|
||||
Reference in New Issue
Block a user