android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Michael Hanselmann e01af0384f [PATCH] powermac: Combined fixes for backlight code
This patch fixes several problems:
- pmac_backlight_key() is called under interrupt context, and therefore
  can't use mutexes or semaphores, so defer the backlight level for
  later, as it's not critical (original code by Aristeu S. Rozanski F.
  <aris@valeta.org>).
- Add exports for functions that might be called from modules
- Fix Kconfig depdencies on PMAC_BACKLIGHT.
- Fix locking issues on calls from inside the driver (reported by
  Aristeu S. Rozanski F., too)
- Fix wrong calculation of backlight values in some of the drivers
- Replace pmac_backlight_key_up/down by inline functions

[akpm@osdl.org: fix function prototypes]
Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Acked-by: Aristeu S. Rozanski F. <aris@valeta.org>
Acked-by: Rene Nussbaumer <linux-kernel@killerfox.forkbomb.ch>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:20 -07:00
..
4xx ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
8xx powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
83xx Merge branch '83xx' into for_paulus 2006-07-03 16:08:21 -05:00
85xx Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
86xx Merge branch 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc 2006-06-28 16:10:53 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
chrp Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-07-03 21:26:12 -07:00
embedded6xx [POWERPC] Add general support for mpc7448hpc2 (Taiga) platform 2006-06-29 16:20:36 +10:00
iseries [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
maple [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
powermac [PATCH] powermac: Combined fixes for backlight code 2006-07-10 13:24:20 -07:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
pseries [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
Makefile [POWERPC] Add general support for mpc7448hpc2 (Taiga) platform 2006-06-29 16:20:36 +10:00