<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snowball/b2r2lib.git/src, branch master</title>
<subtitle>b2r2lib</subtitle>
<id>https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/atom?h=master</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/'/>
<updated>2011-12-14T06:38:31+00:00</updated>
<entry>
<title>Library threads cleaned out correctly</title>
<updated>2011-12-14T06:38:31+00:00</updated>
<author>
<name>Jörgen Nilsson</name>
<email>jorgen.nilsson@stericsson.com</email>
</author>
<published>2011-11-11T09:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=58e30673b8691b934877dbc9076b7dcd09c50d58'/>
<id>urn:sha1:58e30673b8691b934877dbc9076b7dcd09c50d58</id>
<content type='text'>
The pthread created to keep track of making callbacks
to asynchronous requests was not cleaned out
correctly before closing the handle to the
b2r2 driver. The solution uses signaling, mutexes, and
join to make sure the worker thread is done before
issuing the close operation. The poll operation is
also removed from the flow, and the pthread will
lock on read until a report is ready.

ST-Ericsson Linux next: NA
ST-Ericsson ID: 371876, 372677, 371846
ST-Ericsson FOSS-OUT ID: Trivial

Change-Id: If72ca4ff8f978d245786f1548eb47db1e47dd6aa
Signed-off-by: Jörgen Nilsson &lt;jorgen.nilsson@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37453
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Robert LIND &lt;robert.lind@stericsson.com&gt;
Reviewed-by: Satish Adiweppa HIPPARAGI &lt;satish.hipparagi@stericsson.com&gt;
Reviewed-by: Per PERSSON &lt;per.xb.persson@stericsson.com&gt;
Reviewed-by: Jimmy RUBIN &lt;jimmy.rubin@stericsson.com&gt;
</content>
</entry>
<entry>
<title>Add timeout to the callback thread</title>
<updated>2011-12-14T06:38:15+00:00</updated>
<author>
<name>Maciej Socha</name>
<email>maciej.socha@stericsson.com</email>
</author>
<published>2011-10-26T08:53:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=68299e69a811a4876bd27b807e22482330dcf6b0'/>
<id>urn:sha1:68299e69a811a4876bd27b807e22482330dcf6b0</id>
<content type='text'>
The callback thread was polling the b2r2 device
without an explicit timeout. The poll() function
could thus block the thread indefinitely,
even though the b2r2 device may have been closed.
With an explicit timeout, control is guaranteed
to return to the callback thread, allowing it to exit.
Further, a pthread_detach() call was added to have
the thread's context cleaned up, once the thread
terminates.

ST-Ericsson ID: 367329, 356025
ST-Ericsson FOSS-OUT ID: Trivial

Change-Id: I789cda9c54ce4a1cd827ca8a0137ab2b5a01562e
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35313
Reviewed-by: Maciej SOCHA &lt;maciej.socha@stericsson.com&gt;
Tested-by: Maciej SOCHA &lt;maciej.socha@stericsson.com&gt;
Reviewed-by: QATOOLS
Reviewed-by: QATEST
Reviewed-by: Per PERSSON &lt;per.xb.persson@stericsson.com&gt;
Reviewed-by: Jimmy RUBIN &lt;jimmy.rubin@stericsson.com&gt;
</content>
</entry>
<entry>
<title>[b2r2lib] Add handling of other events than POLLIN</title>
<updated>2011-07-08T10:56:37+00:00</updated>
<author>
<name>Jimmy Rubin</name>
<email>jimmy.rubin@stericsson.com</email>
</author>
<published>2011-07-06T09:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=2f2b4338446051aba25188003ce37fc796fc3f7d'/>
<id>urn:sha1:2f2b4338446051aba25188003ce37fc796fc3f7d</id>
<content type='text'>
In the callback thread a poll is performed on the blt handle
in order to know if the thread should be terminated or not.

When poll returns OK (&gt;0) the event field can contain other events
than POLLIN. If another event has occurred the thread has to be
terminated because it is likely that the blt handle is closed.

ST-Ericsson ID: 350511, 342717, 350544
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Jimmy Rubin &lt;jimmy.rubin@stericsson.com&gt;

Change-Id: I289d1dcd68398c3c1ba489785b24289455304e58
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26664
Reviewed-by: QATOOLS
Reviewed-by: QATEST
Tested-by: Jimmy RUBIN &lt;jimmy.rubin@stericsson.com&gt;
Reviewed-by: Per-Daniel OLSSON &lt;per-daniel.olsson@stericsson.com&gt;
Reviewed-by: Robert LIND &lt;robert.lind@stericsson.com&gt;
</content>
</entry>
<entry>
<title>[b2r2lib] Fix Memory leak.</title>
<updated>2011-06-15T06:57:56+00:00</updated>
<author>
<name>Robert Fekete</name>
<email>robert.fekete@stericsson.com</email>
</author>
<published>2011-06-14T08:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=4195fcf3fcd2e79025ace0d052a1fe758c9eb7fa'/>
<id>urn:sha1:4195fcf3fcd2e79025ace0d052a1fe758c9eb7fa</id>
<content type='text'>
When closing the library there was a memory leak and a handle not freed.

ST-Ericsson ID: 344428
ST-Ericsson FOSS-OUT ID: Trivial

Change-Id: I34e99fd4a2375702d69b3178421d141ec581113b
Signed-off-by: Robert Fekete &lt;robert.fekete@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25009
Reviewed-by: Magnus SMITH &lt;magnus.xm.smith@stericsson.com&gt;
Reviewed-by: Himanshu AGRAWAL &lt;himanshu.agrawal@stericsson.com&gt;
Tested-by: Himanshu AGRAWAL &lt;himanshu.agrawal@stericsson.com&gt;
Reviewed-by: QATEST
Reviewed-by: Maciej SOCHA &lt;maciej.socha@stericsson.com&gt;
</content>
</entry>
<entry>
<title>b2r2lib: Bug in callbacks</title>
<updated>2011-03-11T12:38:24+00:00</updated>
<author>
<name>Fredrik Allansson</name>
<email>fredrik.allansson@stericsson.com</email>
</author>
<published>2011-02-18T11:32:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=3159afeaa1f26763b22c58ecbd86d29a045ea738'/>
<id>urn:sha1:3159afeaa1f26763b22c58ecbd86d29a045ea738</id>
<content type='text'>
Fixes a bug causing callbacks to never be called.

ST-Ericsson ID: WP 326752
ST-Ericsson FOSS-OUT ID: Trivial

Depends-On: I634570dd7ec7e19698baa6dcdc3a3286f73b85c8

Change-Id: Ia6a5bb156a437ad631bc25ee4cb3181aaf60767e
Signed-off-by: Fredrik Allansson &lt;fredrik.allansson@stericsson.com&gt;
Signed-off-by: Robert Fekete &lt;robert.fekete@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17026
</content>
</entry>
<entry>
<title>b2r2lib: Support for hwmem buffers</title>
<updated>2010-09-21T14:36:22+00:00</updated>
<author>
<name>Fredrik Allansson</name>
<email>fredrik.allansson@stericsson.com</email>
</author>
<published>2010-09-20T07:42:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=1ed6bfdc0327fc89baa96f6236200da7799b8010'/>
<id>urn:sha1:1ed6bfdc0327fc89baa96f6236200da7799b8010</id>
<content type='text'>
The B2R2 library has been updated to support hwmem buffers.

ST-Ericsson ID: WP269630

Change-Id: I8e96dac7dddf9b0cd0bac6226052ed3646e940c6
Signed-off-by: Fredrik Allansson &lt;fredrik.allansson@stericsson.com&gt;
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5196
Reviewed-by: Robert FEKETE &lt;robert.fekete@stericsson.com&gt;
Tested-by: Robert FEKETE &lt;robert.fekete@stericsson.com&gt;
Reviewed-by: Robert LIND &lt;robert.lind@stericsson.com&gt;
</content>
</entry>
<entry>
<title>Add CLUT support, WP264248</title>
<updated>2010-09-09T12:32:09+00:00</updated>
<author>
<name>Jonas Bengtsson</name>
<email>jonas.l.bengtsson@stericsson.com</email>
</author>
<published>2010-09-09T12:32:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=be1611174f4cf0bcbaa44b219e639a75bc57574a'/>
<id>urn:sha1:be1611174f4cf0bcbaa44b219e639a75bc57574a</id>
<content type='text'>
Change-Id: I58d1189c359ea05c91c277087d44076584c9c2df
Component: linux_b2r2lib:1.0.11:src
Published-by: erobfek &lt;robert.fekete@stericsson.com&gt;
Published-on: Tue, 07 Sep 2010 16:29:03 +0200
Rodos: rodos 7.2.19
</content>
</entry>
<entry>
<title>Add property u8500_v2-linux</title>
<updated>2010-09-09T12:25:56+00:00</updated>
<author>
<name>Jonas Bengtsson</name>
<email>jonas.l.bengtsson@stericsson.com</email>
</author>
<published>2010-09-09T12:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=08ad49ceb4106506de61124076362e8d87cb4e28'/>
<id>urn:sha1:08ad49ceb4106506de61124076362e8d87cb4e28</id>
<content type='text'>
Change-Id: If3b981e77ac91a662798c406396a12614a98146b
Component: linux_b2r2lib:1.0.10:src
Published-by: erobfek &lt;robert.fekete@stericsson.com&gt;
Published-on: Tue, 07 Sep 2010 16:22:49 +0200
Rodos: rodos 7.2.19
</content>
</entry>
<entry>
<title>Fixes following -Wl,--no-undefined waitig for official release from D&amp;G</title>
<updated>2010-07-28T11:39:13+00:00</updated>
<author>
<name>Misbah ur RAHMAN</name>
<email>misbah-ur.rahman@stericsson.com</email>
</author>
<published>2010-07-28T09:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=9ceeadba6084ca1378fd43392b45e803f24a827b'/>
<id>urn:sha1:9ceeadba6084ca1378fd43392b45e803f24a827b</id>
<content type='text'>
Change-Id: I5a197e4644c6f8ca6acb292acaf03d61253492a4
Component: linux_b2r2lib:0.2.1:src
Published-by: strudelt &lt;thierry.strudel@stericsson.com&gt;
Published-on: Fri, 09 Jul 2010 13:32:52 +0200
Rodos: rodos 7.2.18
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3273
Reviewed-by: Pankaj SEN &lt;pankaj.sen@stericsson.com&gt;
Tested-by: Pankaj SEN &lt;pankaj.sen@stericsson.com&gt;
</content>
</entry>
<entry>
<title>makefile update</title>
<updated>2010-06-28T13:42:10+00:00</updated>
<author>
<name>Jonas Bengtsson</name>
<email>jonas.l.bengtsson@stericsson.com</email>
</author>
<published>2010-06-28T13:42:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/snowball/b2r2lib.git/commit/?id=3253026a76cd935fdb55d066b66b2ac76eb530d7'/>
<id>urn:sha1:3253026a76cd935fdb55d066b66b2ac76eb530d7</id>
<content type='text'>
Change-Id: I7ce56a8da2d50dbf3bd84c430b883a7c4b9987e1
Component: linux_b2r2lib:1.0.3:src
Published-by:
Published-on: Sat, 12 Jun 2010 08:08:04 +0200
Rodos: rodos 7.2.11
</content>
</entry>
</feed>
