[PATCH] ARM: OMAP: make iommu subsys_initcall to fix builtin omap3isp

2012-02-26 Thread Ohad Ben-Cohen
omap3isp depends on omap's iommu and will fail to probe if initialized before it (which always happen if they are builtin). Make omap's iommu subsys_initcall as an interim solution until the probe deferral mechanism is merged. Reported-by: James angweiy...@gmail.com Debugged-by: Laurent Pinchart

Re: [PATCH v2 2/2] iommu/omap: fix NULL pointer dereference

2012-02-26 Thread Ohad Ben-Cohen
On Fri, Feb 24, 2012 at 3:16 PM, Joerg Roedel joerg.roe...@amd.com wrote: Applied both and added stable-tag to the second patch. I'll send the pull-request when you guys also send me the correct fix for the outstanding initialization order issue on OMAP. It's out, thanks! -- To unsubscribe

Re: [PATCH] ARM: OMAP: make iommu subsys_initcall to fix builtin omap3isp

2012-02-26 Thread Laurent Pinchart
Hi Ohad, On Sunday 26 February 2012 12:14:14 Ohad Ben-Cohen wrote: omap3isp depends on omap's iommu and will fail to probe if initialized before it (which always happen if they are builtin). Make omap's iommu subsys_initcall as an interim solution until the probe deferral mechanism is

Re: [PATCH] ARM: OMAP: make iommu subsys_initcall to fix builtin omap3isp

2012-02-26 Thread Ohad Ben-Cohen
Hi Laurent, On Sun, Feb 26, 2012 at 7:34 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Sunday 26 February 2012 12:14:14 Ohad Ben-Cohen wrote: omap3isp depends on omap's iommu and will fail to probe if initialized before it (which always happen if they are builtin). Make

Re: [PATCH] ARM: OMAP: make iommu subsys_initcall to fix builtin omap3isp

2012-02-26 Thread Laurent Pinchart
Hi Ohad, On Sunday 26 February 2012 20:30:17 Ohad Ben-Cohen wrote: On Sun, Feb 26, 2012 at 7:34 PM, Laurent Pinchart wrote: On Sunday 26 February 2012 12:14:14 Ohad Ben-Cohen wrote: omap3isp depends on omap's iommu and will fail to probe if initialized before it (which always happen if

Re: [PATCH 7/8] ARM: OMAP: Remove plat/io.h by moving it into mach/io.h

2012-02-26 Thread Rob Herring
On 02/24/2012 12:22 PM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [120223 15:36]: * Rob Herring robherri...@gmail.com [120221 17:53]: On 02/21/2012 05:40 PM, Tony Lindgren wrote: + +/* + * NOTE: Please use ioremap + __raw_read/write where possible instead of these + */ +

color phase rotation for ICC profile

2012-02-26 Thread Raffaele Recalcati
Hi, my tft is a little bit blu, so, changing CPR in omap3 I see I can fix the problem. I'll try to implement something like this http://en.wikipedia.org/wiki/Color_calibration#Display . But I don't find an interface for it neither in the more general FBdev. I could add an ioctl like

Re: [PATCH] ARM: OMAP: make iommu subsys_initcall to fix builtin omap3isp

2012-02-26 Thread Ohad Ben-Cohen
Hi Laurent, On Mon, Feb 27, 2012 at 12:47 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: I'm asking about the probe deferral mechanism. The omap3-isp driver will still call iommu_attach_device() in its probe function. What will happen then ? Will it return an error ? On what

Re: OMAP gpio handling

2012-02-26 Thread DebBarma, Tarun Kanti
On Sat, Feb 25, 2012 at 6:34 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Can someone explain to me this: #define GPIO_INDEX(bank, gpio) (gpio % bank-width) #define GPIO_BIT(bank, gpio) (1 GPIO_INDEX(bank, gpio)) static int _get_gpio_datain(struct gpio_bank *bank, int gpio) {