<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/video/fbdev/au1200fb.c, branch linux-4.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-05-15T10:41:11Z</updated>
<entry>
<title>video: fbdev: fix spelling mistake: "frambuffer" -&gt; "framebuffer"</title>
<updated>2018-05-15T10:41:11Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2018-05-15T10:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3879490f3a9765b254609384cd4a6a3b89574f96'/>
<id>urn:sha1:3879490f3a9765b254609384cd4a6a3b89574f96</id>
<content type='text'>
Trivial fix to spelling mistake in error messages.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Cc: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Cc: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: au1200fb: Style clean up</title>
<updated>2017-11-09T17:09:30Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-11-09T17:09:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab798b908737e999e5d9bcebe972e9d5002583cc'/>
<id>urn:sha1:ab798b908737e999e5d9bcebe972e9d5002583cc</id>
<content type='text'>
Style clean-up.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: au1200fb: Propagate an error code</title>
<updated>2017-11-09T17:09:29Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-11-09T17:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0620865611c9e398f8feaccbe49be946bc6e04d1'/>
<id>urn:sha1:0620865611c9e398f8feaccbe49be946bc6e04d1</id>
<content type='text'>
We should propagate the error code returned by 'fb_alloc_cmap()' instead
of returning -EFAULT.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: au1200fb: Remove some dead code</title>
<updated>2017-11-09T17:09:29Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-11-09T17:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58a81afcffeb457e56e8498c8bf5b73c1623c0b5'/>
<id>urn:sha1:58a81afcffeb457e56e8498c8bf5b73c1623c0b5</id>
<content type='text'>
There is no need to shut gcc up. It should not complain.
Axe 'fbdev', it is never used in this function.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: au1200fb: Fix error handling path</title>
<updated>2017-11-09T17:09:29Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-11-09T17:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6bbbb6805a72bd8c3e9ee626add6b6e8527bb971'/>
<id>urn:sha1:6bbbb6805a72bd8c3e9ee626add6b6e8527bb971</id>
<content type='text'>
Rewrite the exit path based on 'au1200fb_drv_remove()'.
We can safely iterate for all already handled planes. Even if not
completely initialized, the functions that are called will silently accept
the 'fb_info' structure that is passed.

As soon as we find a NULL in the '_au1200fb_infos' array, we know that we
have released all what we needed to release. So we can 'break'.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: au1200fb: Fix incorrect IRQ freeing</title>
<updated>2017-11-09T17:09:29Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-11-09T17:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=703a4af427a9bf3028f1a9369fcec7bfcf56f0ed'/>
<id>urn:sha1:703a4af427a9bf3028f1a9369fcec7bfcf56f0ed</id>
<content type='text'>
'au1200fb_drv_probe()' can not fail after a successful call to
'request_irq()'. So there is no point to call 'free_irq()' in the error
handling path.

Moreover, the hard coded AU1200_LCD_INT looks boggus since
commit 1630d85a8312 ("au1200fb: fix hardcoded IRQ").

So, remove it.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
[b.zolnierkie: patch summary and description fixups]
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: au1200fb: Release some resources if a memory allocation fails</title>
<updated>2017-11-09T17:09:28Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-11-09T17:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=451f130602619a17c8883dd0b71b11624faffd51'/>
<id>urn:sha1:451f130602619a17c8883dd0b71b11624faffd51</id>
<content type='text'>
We should go through the error handling code instead of returning -ENOMEM
directly.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: au1200fb: Return an error code if a memory allocation fails</title>
<updated>2017-11-09T17:09:28Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-11-09T17:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8cae353e6b01ac3f18097f631cdbceb5ff28c7f3'/>
<id>urn:sha1:8cae353e6b01ac3f18097f631cdbceb5ff28c7f3</id>
<content type='text'>
'ret' is known to be 0 at this point.
In case of memory allocation error in 'framebuffer_alloc()', return
-ENOMEM instead.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>video: fbdev: au1200fb: Fix a potential double free</title>
<updated>2017-11-09T17:09:28Z</updated>
<author>
<name>Christophe JAILLET</name>
</author>
<published>2017-11-09T17:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e307cba0c56eba45649eb0f0f43b999e64aae94'/>
<id>urn:sha1:2e307cba0c56eba45649eb0f0f43b999e64aae94</id>
<content type='text'>
If 'fb_alloc_cmap()' fails, 'fbi-&gt;pseudo_palette' is freed and an error
code is returned by 'au1200fb_init_fbinfo()'.
The only caller, 'au1200fb_drv_probe()' goes to an error handling path
where resources allocated in 'fb_alloc_cmap()' are freed.
This leads to a double free of 'fbi-&gt;pseudo_palette'.

Fix it by letting the caller free all resources in case of failure in
'au1200fb_init_fbinfo()'.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
</content>
</entry>
<entry>
<title>dma-mapping: replace dmam_alloc_noncoherent with dmam_alloc_attrs</title>
<updated>2017-06-28T13:55:00Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2017-06-12T17:15:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63d36c95500400642f656ba1970980746cf437f3'/>
<id>urn:sha1:63d36c95500400642f656ba1970980746cf437f3</id>
<content type='text'>
dmam_alloc_noncoherent is a trivial wrapper around dmam_alloc_attrs,
that hardcodes one particular flag.  Make the devres code more
flexible by allowing the callers to pass arbitrary flags.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
</feed>
