<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/video/imxfb.c, branch linux-3.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-01-24T04:35:02Z</updated>
<entry>
<title>Merge tag 'imx-fixes-3.8-3' of git://git.linaro.org/people/shawnguo/linux-2.6 into fixes</title>
<updated>2013-01-24T04:35:02Z</updated>
<author>
<name>Olof Johansson</name>
</author>
<published>2013-01-24T04:35:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ad3041d3b76632c02b50aa384a8f21d7d15bac0'/>
<id>urn:sha1:4ad3041d3b76632c02b50aa384a8f21d7d15bac0</id>
<content type='text'>
From Shawn Guo:

This is yet another critical imxfb fixes held off by absence of FB
maintainer for some time.

* tag 'imx-fixes-3.8-3' of git://git.linaro.org/people/shawnguo/linux-2.6:
  video: imxfb: Do not crash on reboot
</content>
</entry>
<entry>
<title>video: imxfb: Do not crash on reboot</title>
<updated>2013-01-17T08:14:29Z</updated>
<author>
<name>Fabio Estevam</name>
</author>
<published>2013-01-16T12:58:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6b267ce14f61d9da0151b97ee26ab4d38055567'/>
<id>urn:sha1:e6b267ce14f61d9da0151b97ee26ab4d38055567</id>
<content type='text'>
Issuing a "reboot" command after the LCD times out causes the following
warnings:

Requesting system reboot
------------[ cut here ]------------
WARNING: at drivers/clk/clk.c:471 clk_disable+0x24/0x50()
Modules linked in:
[&lt;c001ad90&gt;] (unwind_backtrace+0x0/0xf4) from [&lt;c0025aac&gt;] (warn_slowpath_common+0x48/0x60)
[&lt;c0025aac&gt;] (warn_slowpath_common+0x48/0x60) from [&lt;c0025ae0&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c0025ae0&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;c03960a0&gt;] (clk_disable+0x24/0x50)
[&lt;c03960a0&gt;] (clk_disable+0x24/0x50) from [&lt;c02695a0&gt;] (imxfb_disable_controller+0x48/0x7c)
[&lt;c02695a0&gt;] (imxfb_disable_controller+0x48/0x7c) from [&lt;c029d838&gt;] (platform_drv_shutdown+0x18/0x1c)
[&lt;c029d838&gt;] (platform_drv_shutdown+0x18/0x1c) from [&lt;c02990fc&gt;] (device_shutdown+0x48/0x14c)
[&lt;c02990fc&gt;] (device_shutdown+0x48/0x14c) from [&lt;c003d09c&gt;] (kernel_restart_prepare+0x2c/0x3c)
[&lt;c003d09c&gt;] (kernel_restart_prepare+0x2c/0x3c) from [&lt;c003d0e4&gt;] (kernel_restart+0xc/0x48)
[&lt;c003d0e4&gt;] (kernel_restart+0xc/0x48) from [&lt;c003d1e8&gt;] (sys_reboot+0xc0/0x1bc)
[&lt;c003d1e8&gt;] (sys_reboot+0xc0/0x1bc) from [&lt;c0014ca0&gt;] (ret_fast_syscall+0x0/0x2c)
---[ end trace da6b502ca79c854f ]---
------------[ cut here ]------------
WARNING: at drivers/clk/clk.c:380 clk_unprepare+0x1c/0x2c()
Modules linked in:
[&lt;c001ad90&gt;] (unwind_backtrace+0x0/0xf4) from [&lt;c0025aac&gt;] (warn_slowpath_common+0x48/0x60)
[&lt;c0025aac&gt;] (warn_slowpath_common+0x48/0x60) from [&lt;c0025ae0&gt;] (warn_slowpath_null+0x1c/0x24)
[&lt;c0025ae0&gt;] (warn_slowpath_null+0x1c/0x24) from [&lt;c0396338&gt;] (clk_unprepare+0x1c/0x2c)
[&lt;c0396338&gt;] (clk_unprepare+0x1c/0x2c) from [&lt;c02695a8&gt;] (imxfb_disable_controller+0x50/0x7c)
[&lt;c02695a8&gt;] (imxfb_disable_controller+0x50/0x7c) from [&lt;c029d838&gt;] (platform_drv_shutdown+0x18/0x1c)
[&lt;c029d838&gt;] (platform_drv_shutdown+0x18/0x1c) from [&lt;c02990fc&gt;] (device_shutdown+0x48/0x14c)
[&lt;c02990fc&gt;] (device_shutdown+0x48/0x14c) from [&lt;c003d09c&gt;] (kernel_restart_prepare+0x2c/0x3c)
[&lt;c003d09c&gt;] (kernel_restart_prepare+0x2c/0x3c) from [&lt;c003d0e4&gt;] (kernel_restart+0xc/0x48)
[&lt;c003d0e4&gt;] (kernel_restart+0xc/0x48) from [&lt;c003d1e8&gt;] (sys_reboot+0xc0/0x1bc)
[&lt;c003d1e8&gt;] (sys_reboot+0xc0/0x1bc) from [&lt;c0014ca0&gt;] (ret_fast_syscall+0x0/0x2c)
---[ end trace da6b502ca79c8550 ]---
------------[ cut here ]------------

This happens because "reboot" triggers imxfb_shutdown(), which calls
imxfb_disable_controller with the clocks already disabled.

To prevent this, add a clock enabled status so that we can check if the clocks
are enabled before disabling them.

Acked-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'v3.8-samsung-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes</title>
<updated>2013-01-17T03:58:58Z</updated>
<author>
<name>Olof Johansson</name>
</author>
<published>2013-01-17T03:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5046e385b4426e229a6beb4bce480762af91a6fc'/>
<id>urn:sha1:5046e385b4426e229a6beb4bce480762af91a6fc</id>
<content type='text'>
From Kukjin Kim:

That branch fixes build error for S3C24XX/S3C64xx. And corrects dw-mshc
properties on EXYNOS5 DT and fixes IRQ mapping on Cragganmore board.

* 'v3.8-samsung-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: S3C64XX: Fix up IRQ mapping for balblair on Cragganmore
  ARM: dts: correct the dw-mshc timing properties as per binding
  ARM: S3C64XX: Fix build error with CONFIG_S3C_DEV_FB disabled
  + Linux 3.8-rc3

Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
</content>
</entry>
<entry>
<title>video: imxfb: fix imxfb_info configuration order</title>
<updated>2013-01-14T00:16:18Z</updated>
<author>
<name>Gwenhael Goavec-Merou</name>
</author>
<published>2013-01-13T15:56:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afc10301f70350b490ca518ceb793928854b5453'/>
<id>urn:sha1:afc10301f70350b490ca518ceb793928854b5453</id>
<content type='text'>
The devtype field for fbi (struct imxfb_info) must be set after memset call to
avoid some wrong behaviour (pixel size).

Signed-off-by: Gwenhael Goavec-Merou &lt;gwenhael.goavec-merou@armadeus.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
</content>
</entry>
<entry>
<title>Drivers: video: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:01Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-12-21T21:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48c68c4f1b542444f175a9e136febcecf3e704d8'/>
<id>urn:sha1:48c68c4f1b542444f175a9e136febcecf3e704d8</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>video: imxfb: remove cpu_is_xxx by using platform_device_id</title>
<updated>2012-10-15T02:05:42Z</updated>
<author>
<name>Shawn Guo</name>
</author>
<published>2012-09-16T11:59:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e69dc9a91eeb0387e08d8e1d0e576c88b28902fc'/>
<id>urn:sha1:e69dc9a91eeb0387e08d8e1d0e576c88b28902fc</id>
<content type='text'>
It changes the driver to use platform_device_id rather than cpu_is_xxx
to determine the controller type, and updates the platform code
accordingly.

As the result, mach/hardware.h inclusion gets removed from the driver.

Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Acked-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Cc: linux-fbdev@vger.kernel.org
</content>
</entry>
<entry>
<title>Merge tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6</title>
<updated>2012-10-12T01:21:02Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-10-12T01:21:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f76945a9c978b8b8bf8eb7fe3b17b9981240a97'/>
<id>urn:sha1:5f76945a9c978b8b8bf8eb7fe3b17b9981240a97</id>
<content type='text'>
Pull fbdev updates from Florian Tobias Schandinat:
 "This includes:
   - large updates for OMAP
     - basic OMAP5 DSS support for DPI and DSI outputs
     - large cleanups and restructuring
   - some update to Exynos and da8xx-fb
   - removal of the pnx4008 driver (arch removed)
   - various other small patches"

Fix up some trivial conflicts (mostly just include line changes, but
also some due to the renaming of the deferred work functions by Tejun).

* tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6: (193 commits)
  gbefb: fix compile error
  video: mark nuc900fb_map_video_memory as __devinit
  video/mx3fb: set .owner to prevent module unloading while being used
  video: exynos_dp: use clk_prepare_enable and clk_disable_unprepare
  drivers/video/exynos/exynos_mipi_dsi.c: fix error return code
  drivers/video/savage/savagefb_driver.c: fix error return code
  video: s3c-fb: use clk_prepare_enable and clk_disable_unprepare
  da8xx-fb: save and restore LCDC context across suspend/resume cycle
  da8xx-fb: add pm_runtime support
  video/udlfb: fix line counting in fb_write
  OMAPDSS: add missing include for string.h
  OMAPDSS: DISPC: Configure color conversion coefficients for writeback
  OMAPDSS: DISPC: Add manager like functions for writeback
  OMAPDSS: DISPC: Configure writeback FIFOs
  OMAPDSS: DISPC: Configure writeback specific parameters in dispc_wb_setup()
  OMAPDSS: DISPC: Configure overlay-like parameters in dispc_wb_setup
  OMAPDSS: DISPC: Add function to set channel in for writeback
  OMAPDSS: DISPC: Don't set chroma resampling bit for writeback
  OMAPDSS: DISPC: Downscale chroma if plane is writeback
  OMAPDSS: DISPC: Configure input and output sizes for writeback
  ...
</content>
</entry>
<entry>
<title>drivers/video/imxfb.c: fix error return code</title>
<updated>2012-09-22T21:41:52Z</updated>
<author>
<name>Peter Senna Tschudin</name>
</author>
<published>2012-09-18T12:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=caf0a5c9e153ecb46e6077eefdc9acb56538a6f8'/>
<id>urn:sha1:caf0a5c9e153ecb46e6077eefdc9acb56538a6f8</id>
<content type='text'>
Convert a nonnegative error return code to a negative one, as returned
elsewhere in the function.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
(
if@p1 (\(ret &lt; 0\|ret != 0\))
 { ... return ret; }
|
ret@p1 = 0
)
... when != ret = e1
    when != &amp;ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// &lt;/smpl&gt;

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@gmail.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>ARM: imx: move platform_data definitions</title>
<updated>2012-09-14T09:17:21Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2012-08-24T13:14:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=82906b13a6f4f42edec92f0a3e480e1bdd9b3f91'/>
<id>urn:sha1:82906b13a6f4f42edec92f0a3e480e1bdd9b3f91</id>
<content type='text'>
Platform data for device drivers should be defined in
include/linux/platform_data/*.h, not in the architecture
and platform specific directories.

This moves such data out of the imx include directories

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Acked-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Acked-by: Sascha Hauer &lt;kernel@pengutronix.de&gt;
Acked-by: Vinod Koul &lt;vinod.koul@linux.intel.com&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Cc: Dan Williams &lt;djbw@fb.com&gt;
Cc: "Ben Dooks (embedded platforms)" &lt;ben-linux@fluff.org&gt;
Cc: "Wolfram Sang (embedded platforms)" &lt;w.sang@pengutronix.de&gt;
Cc: Chris Ball &lt;cjb@laptop.org&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Alan Cox &lt;alan@linux.intel.com&gt;
Cc: Felipe Balbi &lt;balbi@ti.com&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Cc: Liam Girdwood &lt;lrg@ti.com&gt;
Cc: Javier Martin &lt;javier.martin@vista-silicon.com&gt;
Cc: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Cc: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
</content>
</entry>
<entry>
<title>video imxfb: do not depend on grouped clocks</title>
<updated>2012-04-25T15:03:37Z</updated>
<author>
<name>Sascha Hauer</name>
</author>
<published>2012-03-07T08:30:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13aaea03b9e33af420a327b7ab800332d6fbabf5'/>
<id>urn:sha1:13aaea03b9e33af420a327b7ab800332d6fbabf5</id>
<content type='text'>
the current i.MX clock support groups together unrelated clocks
to a single clock which is then used by the driver. This can't
be accomplished with the generic clock framework so we instead
request the individual clocks in the driver. For i.MX there are
generally three different clocks:

ipg: bus clock (needed to access registers)
ahb: dma relevant clock, sometimes referred to as hclk in the datasheet
per: bit clock, pixel clock

This patch changes the driver to request the individual clocks.
Currently all clk_get will get the same clock until the SoCs
are converted to the generic clock framework

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
</content>
</entry>
</feed>
