1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/export
William Wilgus 1da2708a7c Fix timer Agptek Rocker (other hosted players)
on timer_unregister callbacks are not removed

It seems (at least on the Rocker) timers continue to fire (for a bit??)

Now we store the registered callback in the sigev structure and check
that the callback matches the one registered when the timer is created.

This should stop the possible case of a new timer getting spurious callbacks
We also now NULL the callbacks on un-register which should stop the segfaults

Added some notes to timer.c and timer.h

Change-Id: Ia155c3a4e4af89f474d55ed845560ccc1fab85aa
2019-10-17 21:19:00 +02:00
..
config Remove "HAVE_TRANSFLECTIVE_LCD" from iPod 6G config 2019-08-01 23:10:57 +02:00
adc.h
aic3x.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
ak4537.h Radio and radio recording for Samsung YH-920. 2014-06-18 18:06:17 +00:00
akcodec.h
as3514.h as3514: document hardware setting based on as3514.c 2016-12-12 13:10:52 +01:00
as3525.h
as3525v2.h as3525v2: use the new USB DesignWare driver 2016-08-15 02:56:23 +02:00
ascodec.h AMS: Return ascodec to interrupt-based I2C2 driver 2017-01-25 00:05:13 +01:00
at91sam9260.h
ata-defines.h
ata-driver.h
ata.h Unify storage threads into one 2017-10-26 14:35:41 -04:00
ata_idle_notify.h events: Rework event subsystem (add_event, send_event) to be more versatile. 2014-03-14 23:36:30 +01:00
ata_mmc.h Unify storage threads into one 2017-10-26 14:35:41 -04:00
audio.h Auto-Ranging Time Formatting For Menus (hh:mm:ss:mss) 2018-12-22 12:27:21 -06:00
audiohw.h Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
audiohw_settings.h Get rid of the last remnants of HAVE_FUNCTIONAL_MODE 2018-09-20 22:03:03 +02:00
backlight-sw-fading.h
backlight.h Fix red and remove duplicated function declaration 2019-02-08 00:04:20 +01:00
backtrace.h Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
bidi.h
bitswap.h
bootchart.h
bootdata.h Add boot data support to rockbox. 2017-10-29 17:50:59 +01:00
button.h Add HAVE_LINEOUT_DETECTION and associated logic 2019-01-04 23:52:42 +01:00
config.h Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
config_caps.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
cpu.h Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
cs42l55.h iPod Classic: capture support for CS42L55 codec 2015-10-07 06:15:03 +02:00
cs4398.h Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
cscodec.h
dac3550a.h Straighten out the mad twisted state of sound.c and related areas. 2013-04-15 12:02:05 -04:00
debug.h
df1704.h ma9: Slightly change df1704 driver API. 2013-11-05 09:59:45 +04:00
disk.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
dm320.h
ds2411.h
dsp-util.h Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
dummy_codec.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
eeprom_24cxx.h
eeprom_settings.h
enc_base.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
es9018.h Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
events.h Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
fat.h Do some housekeeping with fat.h and SECTOR_SIZE 2017-03-12 22:05:44 -04:00
fmradio.h
fmradio_3wire.h Radio and radio recording for Samsung YH-920. 2014-06-18 18:06:17 +00:00
fmradio_i2c.h
font.h fonts: Fix regression(s) caused by c23ce62. 2014-01-26 14:01:48 +01:00
gdb_api.h
general.h
generic_i2c.h
hangul.h
hd66789r.h
hosted_codec.h iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
hostfs.h Add simulator support for the A860 2017-09-17 00:03:45 +02:00
hwcompat.h
i2c-coldfire.h
i2c-pp.h
i2c-rk27xx.h
i2c-s5l8700.h
i2c-s5l8702.h iPod Classic: HW initialization for RB 2016-05-25 12:23:47 +02:00
i2c.h
i2s.h
iap.h iAP: lingo 1 (microphone) 2015-10-07 06:15:04 +02:00
ifp_usb_serial.h
imx31l.h
imx233-codec.h imx233: slightly rework 3D audio setting 2016-12-12 12:15:24 +01:00
imx233.h imx233: fix soc header for stmp3600 and stmp3700 2013-06-18 15:33:07 +02:00
ipod_remote_tuner.h Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
isp1362.h
isp1583.h
jz4740-codec.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
jz4740.h jz4740: a few minor fixes 2013-03-11 08:33:18 +01:00
jz4760b.h jz4760: Greatly enhance debug code and silence some compilation warnings. 2018-09-20 18:59:19 -04:00
jz_mxu.h
lcd-charcell.h Fix Player red and icons on mono displays. 2014-01-07 23:39:37 +01:00
lcd-remote.h put_line/scrolling: Make the scroll engine inform custom scrollers about start/stop of scrolling. 2014-01-12 01:34:06 +01:00
lcd.h Add XRGB8888 native format 2018-06-12 13:25:12 +02:00
led.h
load_code.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
logdiskf.h logdiskf.h - fix wrong cpp conditionals 2012-10-22 22:36:11 +02:00
logf.h Don't add new message to logf when we dump it to file 2016-04-04 11:07:44 +02:00
ltv350qv.h
lv24020lp.h
m5636.h
m66591.h
mas35xx.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
mascodec.h
mc13783.h Improve imx31 interrupt code for PMIC and GPIO 2017-01-29 19:07:55 -05:00
mcf5249.h
mcf5250.h
mi4-loader.h Move load_firmware() to separate file 2013-06-27 13:50:11 +02:00
mips-archdefs.h
mips.h
mipsregs.h
mmc.h Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
mp3_playback.h Use buflib for the allocation of voice PCM resources. 2012-05-02 17:22:28 -04:00
mpr121.h zenxfi3: rewrite mpr121 driver 2016-06-01 23:09:27 +02:00
mv.h volume_ismounted is gated by HAVE_DIRCACHE rather than HAVE_MULTIVOLUME 2019-07-28 15:27:04 +02:00
nand.h Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
nand_id.h
nwzlinux_codec.h nwzlinux: add support for radio 2017-11-06 21:37:06 +01:00
ohci.h
panic.h panicf doesn't return so why not tell GCC and $AVE : 2014-08-25 13:55:16 -04:00
pathfuncs.h Fix track formatting problems in playlist.c 2017-01-07 19:10:02 -05:00
pca9555.h Introduce HiFi E.T MA9 port. 2013-05-06 14:09:24 +04:00
pcf5060x.h
pcf5063x.h iPod Classic: ADC updates 2016-08-12 14:17:46 +02:00
pcf50605.h
pcf50606.h
pcf50635.h
pcm-internal.h Greatly reduce volume-change zipper artifacts with SW volume. 2014-03-08 08:04:41 +01:00
pcm.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pcm1792.h Introduce HiFi E.T. MA8/MA8C ports. 2013-11-05 09:59:45 +04:00
pcm_mixer.h iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
pcm_sampr.h Introduce HW_SAMPR_MIN_GE_22 macro 2019-08-08 22:37:30 +02:00
pcm_sw_volume.h Provide high resolution volume and prescaler to hosted targets. 2013-04-27 06:59:27 +02:00
pl080.h iPod Classic: introduce PL080 DMA controller driver 2015-10-07 06:15:03 +02:00
pl081.h
pl180.h
pnx0101.h
power.h
powermgmt.h Fix checking for CONFIG_CHARGING 2016-04-04 11:19:51 +02:00
pp5002.h Revise the PCM callback system after adding multichannel audio. 2012-03-03 07:23:38 +01:00
pp5020.h
pp5024.h
pp6100.h sansaview: fix lcd code 2014-05-11 19:56:43 +02:00
profile.h
qt1106.h
r61509.h
ramdisk.h Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
rbpaths.h Agptek Rocker: Restrict root directory to SD only 2018-06-12 10:31:15 +02:00
rda5802.h
rds.h Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
rk27xx.h Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
rk27xx_codec.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
rkw-loader.h rename rkw.h header file 2012-03-04 00:36:02 +01:00
rocker_codec.h Agptek Rocker: Initial commit 2018-06-12 10:31:14 +02:00
rolo.h
rtc.h
s1a0903x01.h
s3c2440.h
s5l8700.h iPod Nano 2G: use the new USB DesignWare driver 2016-08-02 04:57:50 +02:00
s5l8702.h iPod Classic: rework on I2C driver 2016-08-12 14:17:46 +02:00
screendump.h
scroll_engine.h Fix scroll_engine truncation 2018-07-28 15:36:13 +02:00
sd.h Unify storage threads into one 2017-10-26 14:35:41 -04:00
sdmmc.h imx233: merge sd and mmc drivers, fix dma issues 2012-08-18 18:24:42 +02:00
serial.h
sh7034.h
si4700.h Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
sound.h Add sound_current to plugin api 2019-07-25 00:48:40 -05:00
spdif.h
spi.h
stfm1000.h zenxfi3&stfm1000: implement fmradio i2c and debug screen 2012-05-19 18:04:25 +02:00
storage.h Fix a few missed things in 16454efc (and hopefully clear the red). 2017-10-26 16:32:53 -04:00
structec.h
sw_i2c.h
synaptics-mep.h
synaptics-rmi.h fuze+: rewrite touchpad driver 2016-06-01 23:08:17 +02:00
system.h debug: Wrap rb_backtrace with HAVE_RB_BACKTRACE instead of CPU_ARM 2018-11-09 02:32:39 +01:00
tcc77x.h
tcc780x.h
tea5760.h
tea5767.h
timer.h Fix timer Agptek Rocker (other hosted players) 2019-10-17 21:19:00 +02:00
tlv320.h tlv320: document audiohw setting based on tlv320.c 2016-12-12 13:13:52 +01:00
touchpad.h touch devices: Disable touch on softlock. 2013-09-05 20:02:07 +02:00
touchscreen.h fix red 2013-09-05 20:35:51 +02:00
tsc200x.h
tsc2100.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
tuner.h Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
uc870x.h iPod Classic: updates for uc8702 driver 2016-05-13 23:21:42 +02:00
uda1341.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
uda1380.h uda1380: document audiohw setting based on uda1380.c 2016-12-12 13:14:22 +01:00
udacodec.h
usb-designware.h Introduce new USB driver for Synopsys DesignWare USB OTG core. 2016-08-02 04:57:49 +02:00
usb-s3c6400x.h
usb-tcc.h
usb.h usb: make usb_release_exclusive_storage private 2015-01-08 16:45:41 +01:00
usb_ch9.h
usb_core.h usb: move usb charging function prototype from usb_core.h to usb.h 2015-01-08 16:44:55 +01:00
usb_drv.h Get rid of usb_drv_attach() from USB code. 2013-05-14 22:13:38 -04:00
wm8731.h wm8731: document audiohw settings 2016-12-12 13:11:25 +01:00
wm8740.h Add Xuelin iHIFI 770/770C/800 support 2019-01-02 08:10:01 -05:00
wm8751.h wm8751: document and fix audiohw settings 2016-12-12 13:12:15 +01:00
wm8758.h wm8758: document and fix audiohw settings 2016-12-12 13:12:47 +01:00
wm8975.h wm8975: document audiohw settings 2016-12-12 13:13:13 +01:00
wm8978.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
wm8985.h Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
wmcodec.h