Re: [PATCH v6 7/7] ARM: davinci: add support for the am1808 based enbw_cmc board

2012-08-09 Thread Heiko Schocher
Hello Nori, On 08.08.2012 19:35, Sekhar Nori wrote: Hi Heiko, On 7/5/2012 6:20 PM, Heiko Schocher wrote: - AM1808 based board - 64 MiB DDR ram - 2 MiB Nor flash - 128 MiB NAND flash - use internal RTC - I2C support - hwmon lm75 support - UBI/UBIFS support - MMC support - USB OTG support

[PATCH 2/6] i2c-xiic: Fix a possible NULL pointer access

2012-08-09 Thread Shubhrajyoti D
platform_get_resource uses pdev so move the function platform_set_drvdata(pdev, NULL) after the get_resource. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- untested drivers/i2c/busses/i2c-xiic.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[PATCH 3/6] i2c: designware: Fix a possible NULL pointer access

2012-08-09 Thread Shubhrajyoti D
platform_get_resource uses pdev so move the function platform_set_drvdata(pdev, NULL) after the get_resource. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- untested drivers/i2c/busses/i2c-designware-platdrv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 4/6] i2c: at91: Fix a possible NULL pointer access

2012-08-09 Thread Shubhrajyoti D
platform_get_resource uses pdev so move the function platform_set_drvdata(pdev, NULL) after the get_resource. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- untested drivers/i2c/busses/i2c-at91.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 0/6] I2C cleanup

2012-08-09 Thread Shubhrajyoti D
Prevent possible NULL pointer access. Only the omap patch is tested. I would be grateful if anone having the platform helps me test it. Shubhrajyoti D (6): i2c: omap: Prevent NULL pointer dereference in remove i2c-xiic: Fix a possible NULL pointer access i2c: designware: Fix a possible

[PATCH 5/6] i2c-puv3: Fix a possible NULL pointer access

2012-08-09 Thread Shubhrajyoti D
platform_get_resource uses pdev so move the function platform_set_drvdata(pdev, NULL) after the get_resource. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- Untested drivers/i2c/busses/i2c-puv3.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 1/6] i2c: omap: Prevent NULL pointer dereference in remove

2012-08-09 Thread Shubhrajyoti D
Prevent the NULL pointer access by moving the platform_set_drvdata function after the access of the pdev. [ 654.961761] Unable to handle kernel NULL pointer dereference at virtual address 0070 [ 654.970611] pgd = df254000 [ 654.973480] [0070] *pgd=9f1da831, *pte=,

[PATCH 6/6] i2c: davinci: Fix a possible NULL pointer access

2012-08-09 Thread Shubhrajyoti D
platform_get_resource uses pdev so move the function platform_set_drvdata(pdev, NULL) after the get_resource. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- Untested drivers/i2c/busses/i2c-davinci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH 1/6] i2c: omap: Prevent NULL pointer dereference in remove

2012-08-09 Thread Shubhrajyoti Datta
On Thu, Aug 9, 2012 at 7:07 PM, Shubhrajyoti D shubhrajy...@ti.com wrote: Prevent the NULL pointer access by moving the platform_set_drvdata function after the access of the pdev. [ 654.961761] Unable to handle kernel NULL pointer dereference at virtual address 0070 [ 654.970611] pgd

[PATCH] i2c: (i2c-diolan-u2c) Fix master_xfer return code

2012-08-09 Thread Guenter Roeck
The master_xfer function returns 0 on success. It should return the number of successful transactions. Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/i2c/busses/i2c-diolan-u2c.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-diolan-u2c.c

[PATCH 4/5] i2c-i801: Add Device IDs for Intel Lynx Point-LP PCH

2012-08-09 Thread james . d . ralston
From: James Ralston james.d.rals...@intel.com This patch adds the SMBus Device IDs for the Intel Lynx Point-LP PCH. The Device IDs are defined in drivers/i2c/busses/i2c-i801.c Signed-off-by: James Ralston james.d.rals...@intel.com --- Documentation/i2c/busses/i2c-i801 |1 +