Age | Commit message (Collapse) | Author | Files | Lines |
|
when usb-type tuner is pulled out, user applications did not close device's FD,
and go on polling the device, we should return POLLERR directly.
Change-Id: Id685db6f37c7a3f454e4a93234a38bb65dfc43d9
Signed-off-by: Changbing Xiong <cb.xiong@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
Data type of return value is unsigned int, but in function of dvb_demux_poll,
when the pointer of dmxdevfilter equals NULL, it will return -EINVAL, which
is invalid.
Change-Id: I5b0f3b6e973b2b5ea041e9ff0ea1709d109a9945
Signed-off-by: Changbing Xiong <cb.xiong@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
Normally, ADAP_STREAMING bit is set in dvb_usb_start_feed and cleared in
dvb_usb_stop_feed.
But in exceptional cases, for example, when the tv is playing programs
and the tuner is pulled out, then dvb_usbv2_disconnect is called.
In such case, it will first call dvb_usbv2_adapter_frontend_exit to stop
dvb_frontend_thread, and then call dvb_usbv2_adapter_dvb_exit to clear
ADAP_STREAMING bit.
At this point, if dvb_frontend_thread is sleeping and waiting for
ADAP_STREAMING to be cleared to get out of sleep. then
dvb_frontend_thread can never be stoped, because clearing ADAP_STREAMING
bit is performed after dvb_frontend_thread is stopped (i.e. performed in
dvb_usbv2_adapter_dvb_exit).
So, deadlock:
[ 240.822037] INFO: task khubd:497 blocked for more than 120 seconds.
[ 240.822655] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 240.830493] khubd D c0013b3c 0 497 2 0x00000000
[ 240.836996] [<c0013b3c>] (__schedule+0x200/0x54c) from [<c00110f4>] (schedule_timeout+0x14c/0x19c)
[ 240.845940] [<c00110f4>] (schedule_timeout+0x14c/0x19c) from [<c00137f4>] (wait_for_common+0xac/0x150)
[ 240.855234] [<c00137f4>] (wait_for_common+0xac/0x150) from [<c004989c>] (kthread_stop+0x58/0x90)
[ 240.864004] [<c004989c>] (kthread_stop+0x58/0x90) from [<c03b2ebc>] (dvb_frontend_stop+0x3c/0x9c)
[ 240.872849] [<c03b2ebc>] (dvb_frontend_stop+0x3c/0x9c) from [<c03b2f3c>] (dvb_unregister_frontend+0x20/0xd8)
[ 240.882666] [<c03b2f3c>] (dvb_unregister_frontend+0x20/0xd8) from [<c03ed938>] (dvb_usbv2_exit+0x68/0xfc)
[ 240.892204] [<c03ed938>] (dvb_usbv2_exit+0x68/0xfc) from [<c03eda18>] (dvb_usbv2_disconnect+0x4c/0x70)
[ 240.901499] [<c03eda18>] (dvb_usbv2_disconnect+0x4c/0x70) from [<c031c050>] (usb_unbind_interface+0x58/0x188)
[ 240.911395] [<c031c050>] (usb_unbind_interface+0x58/0x188) from [<c02c3e78>] (__device_release_driver+0x74/0xd0)
[ 240.921544] [<c02c3e78>] (__device_release_driver+0x74/0xd0) from [<c02c3ef0>] (device_release_driver+0x1c/0x28)
[ 240.931697] [<c02c3ef0>] (device_release_driver+0x1c/0x28) from [<c02c39b8>] (bus_remove_device+0xc4/0xe4)
[ 240.941332] [<c02c39b8>] (bus_remove_device+0xc4/0xe4) from [<c02c1344>] (device_del+0xf4/0x178)
[ 240.950106] [<c02c1344>] (device_del+0xf4/0x178) from [<c0319eb0>] (usb_disable_device+0xa0/0x1c8)
[ 240.959040] [<c0319eb0>] (usb_disable_device+0xa0/0x1c8) from [<c03128b4>] (usb_disconnect+0x88/0x188)
[ 240.968326] [<c03128b4>] (usb_disconnect+0x88/0x188) from [<c0313edc>] (hub_thread+0x4d0/0x1200)
[ 240.977100] [<c0313edc>] (hub_thread+0x4d0/0x1200) from [<c0049690>] (kthread+0xa4/0xb0)
[ 240.985174] [<c0049690>] (kthread+0xa4/0xb0) from [<c0009118>] (ret_from_fork+0x14/0x3c)
[ 240.993259] INFO: task kdvb-ad-0-fe-0:3256 blocked for more than 120 seconds.
[ 241.000349] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 241.008162] kdvb-ad-0-fe-0 D c0013b3c 0 3256 2 0x00000000
[ 241.014507] [<c0013b3c>] (__schedule+0x200/0x54c) from [<c03eda44>] (wait_schedule+0x8/0x10)
[ 241.022924] [<c03eda44>] (wait_schedule+0x8/0x10) from [<c001120c>] (__wait_on_bit+0x74/0xb8)
[ 241.031434] [<c001120c>] (__wait_on_bit+0x74/0xb8) from [<c00112b8>] (out_of_line_wait_on_bit+0x68/0x70)
[ 241.040902] [<c00112b8>] (out_of_line_wait_on_bit+0x68/0x70) from [<c03e5e88>] (dvb_usb_fe_sleep+0xf4/0xfc)
[ 241.050618] [<c03e5e88>] (dvb_usb_fe_sleep+0xf4/0xfc) from [<c03b4b74>] (dvb_frontend_thread+0x124/0x4e8)
[ 241.060164] [<c03b4b74>] (dvb_frontend_thread+0x124/0x4e8) from [<c0049690>] (kthread+0xa4/0xb0)
[ 241.068929] [<c0049690>] (kthread+0xa4/0xb0) from [<c0009118>] (ret_from_fork+0x14/0x3c)
Fix it by calling dvb_usbv2_adapter_frontend_exit() latter.
Test enviroment: odroidx2 + Hauppauge(WinTV-Aero-M)
Change-Id: Ia7ccc816a36f3aaa398fee928d17609fc778a4ee
Signed-off-by: Changbing Xiong <cb.xiong@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
Some device depentent mchine revision. So this patch add get machine revision
function. Machine revision get from device tree. If device tree haven't
'revision' property, function return zero.
Change-Id: Ide2bdd314db334643e5acaabf31d8abc133a51dc
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
|
|
Variable frame_size represents the size of plane luminance
here, not just frame size, its naming style should be unified
as frame_size_ch and frame_size_mv.
Change-Id: I1aaec3f859f99fb2acba4f5356d7f24c62dc21d3
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
|
|
It should take ctx->dst_fmt->num_planes as the loop
condition for CAPTURE.
Change-Id: Icc3bf357afefb263f76e37b7ffec23edb788560e
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
|
|
Ctx->capture_state should be set as QUEUE_BUFS_REQUESTED after the buffer is
indeed allocated successfully.
Change-Id: I6498733e49adc1186a6007e9f6b4d8953af1dcbe
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
|
|
This patch corrects an improper log and revert the permission
of 2 files to original state, which were modified by the
previous patches by mistake.
Change-Id: I388260dc3329faab2efdd260bf28149ebfc3685f
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
|
|
If find_format(f, MFC_FMT_DEC) didn't return a NULL pointer,
then the value of fmt->type must be MFC_FMT_DEC. It's
unnecessary to check it here.
Change-Id: I6c1146d33e014465fbdf8b085f0264fd60788260
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
|
|
It's also invalid that plane_no equals to vb->num_planes
Change-Id: Icb11d9d5712f79d67ba2132e78fd4e90f91fef6a
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
|
|
Fix the variable type and the macro name to make this driver buildable.
Change-Id: I14f95c66db7bcfc8170e330e065f3de80c34ada8
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
|
|
list_first_entry does not return null, when the list is empty.
Change-Id: I014e2ef5ba035db3b6fc97e6821bc9869143f867
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
|
|
mms128 touchscreen driver is call mms_config_set function repeatedly.
This patch remove unnecessary calling mms_config_set function.
And then, change calling mms_config_get function.
Change-Id: Id4edd63df9061a6145cd715b78c784ba57fdf229
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
|
|
If disable CONFIG_TIZEN_WIP, This driver not work after supend/resume.
Because this driver use variable "enable" and "info->enable" sepearately.
So this patch remove variable "enable" and then, use "info->enable".
Also this patch revise that state is changed at mms_ts_power() only.
Change-Id: I9b0d0c46430876779b89d76201deeeaba048cc46
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
|
|
This patch add support for TRIM_RELOAD feature at Exynos3250. The TMU of
Exynos3250 has two TRIMINFO_CON register.
Change-Id: I129797121b6c5f619390c350a7783cf1d08f5697
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
This patch support dynamic range for color space conversion.
COLOR_RANGE_LIMITED: selects narrow -> Y(16 to 235), Cb/Cr(16 to 240)
COLOR_RANGE_FULL: selects wide -> Y/Cb/Cr(0 to 255), Wide default
Change-Id: I7bb62883b497b5b6869108247cc33b09c07f470e
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
|
|
This patch makes Exynos DRM GSC driver compatible with device tree.
Change-Id: I0e1abed40778c97c15ed5d52fc4568f0ee105c57
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
|
|
This patch makes Exynos DRM GSC driver buildable with Exynos 3 series,
not only with Exynos 5 series.
Change-Id: Ib8cda001f7aee34c1584923c4be43a3ed77c6e6d
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
|
|
Values used previously - THERMAL_TREND_{RAISE|DROP}_FULL caused thermal
governor to use the maximal cooling state just after crossing
the first trip point. Such behavior is not acceptable since it causes
the full speed of FAN which is noisy and not really necessary.
With proposed values the fan speed limit is adjusted accordingly.
Change-Id: I9b2fd96dd74040a3a0ddf8465b316b167d5c834e
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
|
|
This patch initializes frequency table for CPUFREQ statically.
Change-Id: If64cd6665f22c57da49764e19cb9847f0a7a5aed
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
This patch add new 'load_table' debugfs file to show previous accumulated data
of CPUs load as following path and add CPUFREQ_LOADCHECK notification to
CPUFREQ_TRANSITION_NOTIFIER notifier chain.
- /sys/kernel/debug/cpufreq/cpuX/load_table
When governor calculates CPUs load on dbs_check_cpu(), governor send
CPUFREQ_LOADCHECK notification with CPUs load, so that cpufreq_stats
accumulates calculated CPUs load on 'load_table' storage.
This debugfs file is used to judge the correct system state or determine
suitable system resource according to current CPUs load on user-space.
This debugfs file include following data:
- Measurement point of time
- CPU frequency
- Per-CPU load
Changes since v6:
- Remove unnecessary memory free/allocation operation on
cpufreq_stats_reset_debugfs()
- Get correct index of cpu_debugfs[] array according to cpu number
- Reset 'load_table' data when cpufreq governor is changed or updated because
specific governor(e.g., performance/powersave) haven't used 'load_table;
debugfs file.
Changes since v5:
- Determine index value of policy->cpu_debugfs[] according to
cpumask_weight(policy->cpus) value
- Bug fix, store 'policy->cpu' to 'freq->cpu' before notify
CPUFREQ_LOADCHECK notification
Changes since v4:
- Reset the data of CPUs load when cpufreq governor is changed
- Move code about creating debugfs directory to below first patch
: [PATCH 1/2] cpufreq: Add debugfs directory for cpufreq
Changes since v3:
- Extend a range of accumulated data (10 ~ 1000)
- Add unit information of time/freq and align 'Time' field as left for readability
- Use CONFIG_CPU_FREQ_STAT depdendency instead of CONFIG_CPU_FREQ_STAT_DETATILS
- Initialize load of offline CPUx as zero(0)
- Create/remove debugfs root directory on cpufreq_stats_init/exit() because
debugfs root is used on all CPUs.
Changes since v2:
- Code clean according to Viresh Kumar's comment
- Show both old frequency and new frequency on 'load_table' debugfs file
- Change debufs file patch as below
old: /sys/kernel/debugfs/cpufreq/load_table
new: /sys/kernel/debugfs/cpufreq/cpuX/load_table
Changes since v1:
- Set maximum storage size to save CPUs load on Kconfig
- Use spinlock to synchronize read/write operation for CPUs load
- Use local variable instead of global variable(struct cpufreq_freqs *freqs)
- Use pointer of data structure to get correct size of data structure
in sizeof() macro instead of structure name
: sizeof(struct cpufreq_freqs) -> sizeof(*stat->load_table)
- Change time unit from nanosecond to microsecond
- Remove unnecessary memory copy
Change-Id: I14e68196360a3ec00a36e7357b8c73c887abddce
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
|
|
This patch create debugfs root directory and child directory according to
the number of CPUs for CPUFreq as below debugfs directory path:
- /sys/kernel/debug/cpufreq/cpuX
If many CPUs share only one cpufreq policy, other CPUs(except for first CPU)
create a symbolic link for debugfs directory of CPU0.
- link: /sys/kernel/debug/cpufreq/cpu[1-(N-1)] -> /sys/kernel/debug/cpufreq/cpu0
And then cpufreq may need to create debugfs specific file below of debugfs
directory of cpufreq. (e.g., /sys/kernel/debug/cpufreq/cpu0/load_table)
Changes since v6:
- Use 'policy->related_cpus' instead of 'policy->cpus' when getting the number
of CPUs included in the same package
- Get correct index of cpu_debugfs[] array according to cpu number
- Refactoring cpufreq_move_debugfs_dir() / cpufreq_create_debugfs_symlink()
- Use for_each_cpu() to support multi cluster instead of for_each_present_cpu()
Changes since v5:
- Refactoring patch v4
- Create again symbolic link of debugfs directory when first CPU dev is removed
(In this case, many CPUs share only one cpufreq policy)
Change-Id: Ibd84118e6dd3b1e3bc624e1871d39425c99b1673
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
|
|
This patch simply move the definition about PPMU remove build break
when building both exynos3_bus and exynos4_bus driver.
Change-Id: I4cb6e42644eb7ce2ef17d3de923eba87af0f7923
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|
|
This patch add Exynos3250 busfreq driver to support DVFS(Dynamic Voltage
Frequency Scaling) about Exynos3250's Memory interface and bus. Exynos3250
busfreq driver will optimize power-consumption/performance of memory according
to PPMU(Profiling Performance Monitoring Unit) Read/Write count of Exynos3250
SoC.
- Exynos3250 MIF (DMC block) use following PPMU to check utilization
of MIF block.
: PPMU_DMC0
: PPMU_DMC1
- Exynos3250 INT (Internal block except for ARM/DMC/G3D) use following PPMU
to check utilization of INT block.
: PPMU_LEFT
: PPMU_RIGHT
Change-Id: If35c1fa0228f16547015931c64b0d6e896599d46
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
|
|
This patch supports exynos drm display writeback mode that clone
the screen with fimd like below.
FIMD----->FIMC H/W---->MEMORY
Change-Id: I8172ec6ee157e2e48a23b9776e11543c33716dc5
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
|
|
This patch removes CONFIG_TIZEN_WIP ifdefs.
Change-Id: I48c455d4ef67e60383e1c358be4124f78b4352e5
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
|
|
The DViCO FusionHDTV7 usb tuner stick is not working after commit
cfd0c77d0830d33288e9da17aa10db3a61de601a(au0828: improve I2C speed).
This will use always 20kHz for i2c and workaround until fixed from
au0828 codes.
[ 28.350841] xc5000: Can't request Self-callibration. - retrying to upload firmware.
[ 32.345838] xc5000: Can't request Self-callibration. - retrying to upload firmware.
[ 36.325840] xc5000: Can't request Self-callibration. - retrying to upload firmware.
[ 40.300846] xc5000: Can't request Self-callibration. - retrying to upload firmware.
[ 44.270848] xc5000: Can't request Self-callibration. - too many retries. Giving up
[ 44.272778] xc5000: Unable to initialise tuner
[ 45.385845] xc5000: xc_set_signal_source(0) failed
[ 47.305850] xc5000: xc_set_signal_source(0) failed
Change-Id: I0099cc0061e0e3a236570d43d3f4f63ebc4d6d49
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
|
|
Introduce common of_flat_dt_match_machine and
of_flat_dt_get_machine_name functions to unify architectures' handling
of machine level model and compatible properties.
Several architectures match the root compatible string with an arch
specific list of machine descriptors duplicating the same search
algorithm. Create a common implementation with a simple architecture
specific hook to iterate over each machine's match table.
Change-Id: I77acb5c560e2b08591c37b57d5d87023aa3fbe91
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
|
|
This patch fix two things:
- Remove duplicated HDMI_I2S_SEL_SDATA2(x) macro definition, add
missing HDMI_I2S_SEL_SDATA0(x) macro and fix macro usage.
- Fix HDMI_I2S_IN_DISABLE and HDMI_I2S_IN_ENABLE values and fix
macro usage.
Change-Id: I172913a61011292c3c912a3e8ccd84109924b906
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
|
|
Currently, when incomplete frame is recieved in the middle of decoding,
driver have treated it to error, so src/dst queue and clock are cleaned.
Although it is obviously error case, it is need to maintain video
decoding in case of necessity. This patch supports skip incomplete frame
to next.
Change-Id: I328275a01d9f4bdfda55daf08a0e8b238ed7da5d
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
|
|
ctx->ctx should be released when the following allocation for ctx->shm fails.
Change-Id: I55372f8360db4605a65f633393b97c0ba2ee47d6
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
|
|
The of_clk_set_defaults() function is used in the I2C subsystem which
can be build as module. Add the missing symbol export entry so there
is no build errors like
"ERROR: "of_clk_set_defaults" [drivers/i2c/i2c-core.ko] undefined!"
Fixes commit: 86be408bfbd846fab3c4ac21d6f9298bd2e4b790
"clk: Support for clock parents and rates assigned from device tree"
Change-Id: Ibdff952f3c958d09ff8f07a567a8026e7942a586
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
|
|
There is a cut and paste bug so we check "pclk" instead of "clk".
Change-Id: Ie72f6d614d5e5a2756f60808aad3db92f46ed790
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
|
|
This patch adds helper functions to configure clock parents and rates
as specified through 'assigned-clock-parents', 'assigned-clock-rates'
DT properties for a clock provider or clock consumer device.
The helpers are now being called by the bus code for the platform, I2C
and SPI busses, before the driver probing and also in the clock core
after registration of a clock provider.
Change-Id: I96d98c9c9d576fcbf0dfc90d1cc75feb9fdf97cb
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
[s.nawrocki@samsung.com: backported to v3.10]
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
|
|
To support hs uart, maximum baudrate is fixed to 3Mbps.
Change-Id: Idc39e09a8089c61518a3525058ae6647a625c8fb
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Change-Id: If5b327b3e33cc518c72003de0b3b0e643b43ff42
Signed-off-by: Inki Dae <inki.dae@samsung.com>
|
|
Change-Id: I18cd6a16b9ef66797ceb9b72bb37f626ae1d3856
Signed-off-by: Inki Dae <inki.dae@samsung.com>
|
|
Change-Id: I2b2618cba75472e07f32a873ec516103a9e2b9d8
Signed-off-by: Inki Dae <inki.dae@samsung.com>
|
|
This path adds exynos3250 SoC support with mali-400mp2 core,
and cleans up codes related to clock.
Change-Id: Icbba8769a7389a6e2876a27add0767ec5b603c0a
Signed-off-by: Inki Dae <inki.dae@samsung.com>
|
|
This clock should be passed by default. If they are defined, then
these clocks will be masked in case that relevant drivers don't
enable them.
Change-Id: I8cb402642ac7e9b69c80d594a8be981477f679af
Signed-off-by: Inki Dae <inki.dae@samsung.com>
|
|
This patch adds missing spin_lock initialization since applied aca4c144.
It can fix below error during mct_init_dt.
[ 0.000000] BUG: spinlock bad magic on CPU#0, swapper/0/0
[ 0.000000] lock: 0xeb0028d0, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.52-03511-g2e14cbe-dirty #30
[ 0.000000] [<c00141c4>] (unwind_backtrace+0x0/0xf4) from [<c0011520>] (show_stack+0x10/0x14)
[ 0.000000] [<c0011520>] (show_stack+0x10/0x14) from [<c02163e8>] (do_raw_spin_lock+0x154/0x180)
[ 0.000000] [<c02163e8>] (do_raw_spin_lock+0x154/0x180) from [<c05f5f44>] (_raw_spin_lock_irqsave+0x20/0x28)
[ 0.000000] [<c05f5f44>] (_raw_spin_lock_irqsave+0x20/0x28) from [<c04437c8>] (clk_gate_endisable+0x28/0x88)
[ 0.000000] [<c04437c8>] (clk_gate_endisable+0x28/0x88) from [<c044383c>] (clk_gate_enable+0xc/0x14)
[ 0.000000] [<c044383c>] (clk_gate_enable+0xc/0x14) from [<c0440b00>] (__clk_enable+0x5c/0x9c)
[ 0.000000] [<c0440b00>] (__clk_enable+0x5c/0x9c) from [<c0440dec>] (clk_enable+0x18/0x2c)
[ 0.000000] [<c0440dec>] (clk_enable+0x18/0x2c) from [<c083d0d8>] (exynos4_timer_resources+0x154/0x224)
[ 0.000000] [<c083d0d8>] (exynos4_timer_resources+0x154/0x224) from [<c083d260>] (mct_init_dt+0x64/0x70)
[ 0.000000] [<c083d260>] (mct_init_dt+0x64/0x70) from [<c083cec4>] (clocksource_of_init+0x34/0x58)
[ 0.000000] [<c083cec4>] (clocksource_of_init+0x34/0x58) from [<c0826e40>] (exynos_init_time+0x40/0x108)
[ 0.000000] [<c0826e40>] (exynos_init_time+0x40/0x108) from [<c0822ed4>] (time_init+0x20/0x30)
[ 0.000000] [<c0822ed4>] (time_init+0x20/0x30) from [<c081f954>] (start_kernel+0x1e4/0x3a8)
[ 0.000000] [<c081f954>] (start_kernel+0x1e4/0x3a8) from [<40008074>] (0x40008074)
Change-Id: I6271d2a82f0296629a30a2788517658d45ef797c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
|
|
This reverts commit 3fce4fefb40c28cadc40d2fa3452121eb0240ec1.
|
|
Now that xc5000_set_params() is also called during resume,
move the code that checks for the firmware to happen there.
This way, the firmware will be loaded either for analog or
digital TV when .resume callback is called.
Change-Id: I84765a1c1fb1913c2918eb1d5e8ce376bcf63817
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
When DVB is streaming and suspend is called, it will call
au0828_stop_transport(), with will clean the streaming flag.
Due to that, stop_urb_transfer() will be called twice,
causing an oops.
So, we need another flag to be used at resume, telling it
to restart DVB.
While here, add a logic at stop_urb_transfer() to prevent
it of being called twice, and convert the usb_streaming
flag into boolean.
Change-Id: I69a1096d1fae3230675ed5f452d2afdde793548b
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
dev->dvb is always not null, as it is an area at the dev
memory. So, checking if (dev->dvb) is always true.
Instead of this stupid check, what the code wants to do is
to know if the DVB was successully registered.
Fix it by checking, instead, for dvb->frontend. It should
also be sure that this var will be NULL if the device was
not properly initialized.
Change-Id: I714b87027e254d34c0448ecb9a673ce1bd9e9e32
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
xc5000_set_params() is a bad name for a function that
handles only digital TV. Rename it to xc5000_set_digital_params(),
and proper name the generic function that works for both
digital and analog.
No functional changes.
Change-Id: I4d6702105a586eadc71a1372371adda734b5311b
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
If a device suspends/hibertates with a station tuned, restore
the tuner station at resume.
Change-Id: I60c4265f50dc365d019cba9dfaa3bd1a046c6adc
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
As we need a function that reapply the last tuned radio,
in order to do resume, split the code that validates and
updates the internal priv struct from the ones that
actually set radio and TV.
A latter patch will add support for resume.
Change-Id: Icfb7c31de0d61b2c78f4e43b3199e4c9d407e846
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
As we'll be adding a code to resume tuner operation, we
need to move the code that actually sets DTV on a separate
function, to be called by the resume code.
No functional changes, just code got moved.
Change-Id: I0a1beda57f6fcd3549e301b674110409d65e7ad0
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
|
After xc5000 stops working, it waits for 5 seconds, waiting
for a new usage. Only after that it goes to low power mode.
If a suspend event happens before that, a work queue will
remain active, with causes suspend to crash.
Change-Id: I27c8d41754e33c6114d466d076082181241fb7a2
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|