From: Sam Protsenko
When using DES module the next bug appears:
BUG: scheduling while atomic: kworker/0:1/63/0x0102
With backtrace as follows:
<< cut here >>>
[] (dump_backtrace) from [] (show_stack+0x18/0x1c)
[] (show_stack) fro
Set .irq_set_wake callback to prevent possible issues on wake-up.
This patch was inspired by this commit:
b80eef95beb04760629822fa130aeed54cdfafca
Signed-off-by: Semen Protsenko
---
drivers/gpio/gpio-max732x.c |9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpio/gpio
from (run_ksoftirqd)
(run_ksoftirqd) from (smpboot_thread_fn)
(smpboot_thread_fn) from (kthread)
(kthread) from (ret_from_fork)
Signed-off-by: Semen Protsenko
Reviewed-by: Grygorii Strashko
---
drivers/gpio/gpio-max732x.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
It's possible that multiple MAX732X can be hooked up to the same
interrupt line with the processor. So add IRQF_SHARED in requesting irq.
Signed-off-by: Semen Protsenko
---
drivers/gpio/gpio-max732x.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers
(ret_fast_syscall)
This patch adds pm_qos_remove_request() on fail path in
serial_omap_probe() in order to fix this issue. While at it, free the
wakeup settings on fail path as well, just like it's done in
serial_omap_remove().
Signed-off-by: Semen Protsenko
---
drivers/tty/serial/omap-se
(ret_fast_syscall)
This patch adds pm_qos_remove_request() on fail path in
serial_omap_probe() in order to fix this issue. While at it, free the
wakeup settings on fail path as well, just like it's done in
serial_omap_remove().
Signed-off-by: Semen Protsenko
---
drivers/tty/serial/omap-se
from (run_ksoftirqd)
(run_ksoftirqd) from (smpboot_thread_fn)
(smpboot_thread_fn) from (kthread)
(kthread) from (ret_from_fork)
Signed-off-by: Semen Protsenko
---
drivers/gpio/gpio-max732x.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-max732x.c b/drivers
from (kthread)
(kthread) from (ret_from_fork)
Signed-off-by: Semen Protsenko
---
drivers/gpio/gpio-max732x.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c
index 1885e5c..edade14 100644
--- a/drivers/gpio/gpio-max732x.c
Set .irq_set_wake callback to prevent possible issues on wake-up.
This patch was inspired by this commit:
b80eef95beb04760629822fa130aeed54cdfafca
Signed-off-by: Semen Protsenko
---
drivers/gpio/gpio-max732x.c |9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpio/gpio
It's possible that multiple MAX732X can be hooked up to the same
interrupt line with the processor. So add IRQF_SHARED in requesting irq.
Signed-off-by: Semen Protsenko
---
drivers/gpio/gpio-max732x.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers
x27;t (i.e. it's
NULL) we wouldn't have NULL pointer dereference. This check seems to
be pretty common in kernel/irq/chip.c, but it was missed for
handle_edge_irq() function.
Signed-off-by: Semen Protsenko
---
kernel/irq/chip.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-
http://e2e.ti.com/support/omap/f/885/t/396939
Signed-off-by: Semen Protsenko
---
drivers/memory/omap-gpmc.c | 32
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index db77adb..477d0ba 100644
Fix sparse warning:
warning: symbol 'gpmc_cs_get_name' was not declared. Should it be static?
Signed-off-by: Semen Protsenko
---
drivers/memory/omap-gpmc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gp
obvious typo
in code read register value is being rewritten by another value, which
leads to loss of read RESERVED bits. This patch fixes this.
While at it, replace magic numbers with named constants to improve code
readability.
Signed-off-by: Semen Protsenko
---
drivers/memory/omap-gpmc.c | 20 +++
to remove all CONFIG_MTD_CHAR references as long as those
defconfig files have CONFIG_MTD declared.
Signed-off-by: Semen Protsenko
---
arch/arm/configs/acs5k_defconfig |1 -
arch/arm/configs/acs5k_tiny_defconfig |1 -
arch/arm/configs/am200epdkit
ned-off-by: Semen Protsenko
---
arch/arm/configs/badge4_defconfig |1 -
arch/arm/configs/hackkit_defconfig |2 --
arch/arm/configs/lart_defconfig |2 --
arch/arm/configs/omap1_defconfig|2 --
arch/blackfin/configs/DNP5370_defconfig |2 --
arch/mn103
ode is now compiled without checking for CONFIG_MTD_CONCAT.
For details see next commit:
a8adc3f01b9a "mtd: drop CONFIG_MTD_CONCAT ifdefs"
Signed-off-by: Semen Protsenko
---
arch/arm/configs/acs5k_defconfig |1 -
arch/arm/configs/acs5k_tiny_defconfig |1
NS code is now compiled without checking for
CONFIG_MTD_PARTITIONS. For details see next commit:
5fcb033159bc "mtd: always build partitioning support".
Signed-off-by: Semen Protsenko
---
arch/arm/configs/acs5k_defconfig |1 -
arch/arm/configs/acs5k_tiny_defconfig |1
defconfigs and will not break anything.
Semen Protsenko (4):
defconfigs: remove CONFIG_MTD_CONCAT
defconfigs: remove CONFIG_MTD_PARTITIONS
defconfigs: remove CONFIG_MTD_CHAR
defconfigs: remove CONFIG_MTD_DEBUG*
arch/arm/configs/acs5k_defconfig |3 ---
arch/arm
Signed-off-by: Semen Protsenko
---
drivers/gpio/Kconfig|1 +
drivers/gpio/gpio-max732x.c | 100 ---
2 files changed, 66 insertions(+), 35 deletions(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 633ec21..d81d441 100644
Signed-off-by: Semen Protsenko
---
drivers/gpio/gpio-max732x.c | 62 +++
1 file changed, 51 insertions(+), 11 deletions(-)
diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c
index 6c67622..a642f78 100644
--- a/drivers/gpio/gpio
Add a devicetree binding documentation for the max732x driver.
Signed-off-by: Semen Protsenko
---
.../devicetree/bindings/gpio/gpio-max732x.txt | 59
1 file changed, 59 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-max732x.txt
diff
nding documentation showing how to describe MAX732X
driver in device tree file.
Semen Protsenko (4):
gpio: max732x: Add device tree support
gpio: max732x: Rewrite IRQ code to use irq_domain API
gpio: max732x: Fix possible deadlock
gpio: max732x: Add DT binding documentation
.../devicetree/bindings
;__lockdep_no_validate__){..}, at: []
__driver_attach+0x58/0x98
[0.474334] #2: (&chip->irq_lock){+.+...}, at: []
max732x_irq_bus_lock+0x14/0x20
[ 0.474365] #3: (&irq_desc_lock_class){-.}, at: []
__irq_get_desc_lock+0x48/0x88
[0.474365] #4: (&chip->lock){
"
parameter to it
- ACPI_FREE() is macro for acpi_os_free()
- acpi_os_free() takes "void *" parameter
- acpi_os_free() calls kfree()
- but kfree() requires "const void *" parameter
So acpi_os_free() should require "const void *" parameter as well.
Signed-off-by
"site" variable should be initialized with 0 so that
when "site" property doesn't exist in DTB it can be handled correctly.
"0" value means board site number is motherboard (see
Documentation/devicetree/bindings/arm/vexpress.txt for details).
Signed-off-by
26 matches
Mail list logo