summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-11-18media: check status of dmxdev->exit in poll functions of demux&dvrChangbing Xiong1-1/+5
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>
2014-11-18media: correct return value in dvb_demux_pollChangbing Xiong1-1/+1
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>
2014-11-18media: fix kernel deadlock due to tuner pull-out while playingChangbing Xiong1-1/+1
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>
2014-11-18ARM: use get machine revision function for get sys_revision propertyBeomho Seo1-0/+1
'system_rev' is revision information of board/machine. Arm architecture defines variable 'system_rev' but not assigned. So This patch use of_flat_dt_get_machine_rev() for get 'sys_revision' from device tree. Change-Id: Ifa6cc0704c109457e779d4e68f33ab67740282f9 Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
2014-11-18of: Add common FDT machine revision related functionBeomho Seo2-1/+17
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>
2014-11-18arm: tizen_odroid_defconfig: enable options for RTL8188CUS usb wifiJoonyoung Shim1-7/+44
Hardkernel provides RTL8188CUS usb wifi module with Odroid U3 board. This patch is to enable wireless options for RTL8188CUS usb wifi. Change-Id: I55f9cd346f31aa85b1f7a1d29835c425a31380cb Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-11-18media: s5p_mfc: unify variable naming styleZhaowei Yuan1-3/+3
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>
2014-11-18media: s5p_mfc: correct the loop conditionZhaowei Yuan1-1/+1
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>
2014-11-18media: s5p_mfc: Mark buffer as requested after it is indeed allocatedZhaowei Yuan1-1/+2
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>
2014-11-18media: s5p_mfc: Correct improper log and revert file permissionZhaowei Yuan2-1/+1
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>
2014-11-18media: s5p_mfc: Remove unnecessary checking for fmt->typeZhaowei Yuan1-6/+1
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>
2014-11-18vb2: fix plane index sanity check in vb2_plane_cookie()Zhaowei Yuan1-1/+1
It's also invalid that plane_no equals to vb->num_planes Change-Id: Icb11d9d5712f79d67ba2132e78fd4e90f91fef6a Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
2014-11-18exynos/drm: gsc: fix build error related with write backHyungwon Hwang1-4/+4
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>
2014-11-18exynos/drm: ipp: fix to get null when the list is emptyHyungwon Hwang1-4/+4
list_first_entry does not return null, when the list is empty. Change-Id: I014e2ef5ba035db3b6fc97e6821bc9869143f867 Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
2014-11-18input: touchscreen: mms128: change calling mms config set functionBeomho Seo1-6/+3
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>
2014-11-18input: touchscreen: mms128: remove global variable "enable"Beomho Seo1-13/+2
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>
2014-11-18ARM: dts: fix audio routing of Odroid U3Joonyoung Shim1-5/+5
This will route right Headset audio path for Odroid U3. Change-Id: I8d52b8a9b388bd4f19168e22b7f6fcecf6bd347a Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-11-18ASoC: samsung: add Headset dapm widgets for Odroid U3Joonyoung Shim1-1/+2
Odroid U3 can support Headset Stereophone and Headset Mic. Change-Id: Ia682256a21cef262d4539ce0b5f1b9bc54ddffb1 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-11-18ASoC: samsung: remove unnecessary controls of odroidx2_max98090Joonyoung Shim1-20/+1
The control by user about external connectors is unnecesary. Change-Id: Ib86f8ccccbb462c2ae17853dcc29313220eb407f Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-11-18arm: tizen_odroid_defconfig: enable options for usb modemJoonyoung Shim1-2/+71
Below options are requested from telephone part to support usb modem. CONFIG_USB_SERIAL CONFIG_USB_SERIAL_OPTION CONFIG_PPP CONFIG_PPP_BSDCOMP CONFIG_PPP_DEFLATE CONFIG_PPP_FILTER CONFIG_PPP_MULTILINK CONFIG_PPP_ASYNC CONFIG_PPP_SYNC_TTY Change-Id: Id3de714f5ffc2885c22e33850faed0421d9d936d Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-11-18thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250Chanwoo Choi4-7/+22
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>
2014-11-18drm: fimc: support ipp dynamic color rangeDonghwa Lee2-1/+24
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>
2014-11-18dts: exynos3250: Add Exynos DRM GSC device nodeHyungwon Hwang1-0/+39
This patch adds Exynos DRM GSC device nodes and the corresponding IOMMU device nodes for the boards which uses Exynos 3250 processor. Change-Id: I846494b03922896db45f5faec8265e15be46273f Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
2014-11-18drm/exynos: gsc: add device tree supportHyungwon Hwang1-0/+7
This patch makes Exynos DRM GSC driver compatible with device tree. Change-Id: I0e1abed40778c97c15ed5d52fc4568f0ee105c57 Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
2014-11-18drm/exynos: gsc: enable DRM_EXYNOS_GSC for Exynos 3 seriesHyungwon Hwang1-1/+1
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>
2014-11-18thermal: Use THERMAL_TREND_{RISING|FALLING} to indicate thermal trendsLukasz Majewski1-3/+5
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>
2014-11-18config: odroid: Enable thermal subsystem for OdroidLukasz Majewski1-1/+22
This commit adds support for thermal subsystem for the Odroid family of development boards. Change-Id: Ib187fcc051d97b4ff5fdb24702804cbdf75af954 Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2014-11-18dts: Odroid: Add tmu node to the Odroid DTSLukasz Majewski1-0/+5
This change allows proper support for Thermal subsystem on the Exynos4412 based Odroid board. Change-Id: I1a79180aa0159dbd3ba6446bc1d4b4a976a71a05 Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2014-11-18ARM: dts: Add cpufreq dt node for Exynos3250Chanwoo Choi1-15/+11
This patch add cpufreq dt node for Exynos3250 and remove un-used cpufreq information. Change-Id: Ia70bf3c83b032a3e58537aa5850a284bc4a91197 Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2014-11-18cpufreq: exynos3250: Initialize frequency table staticallyChanwoo Choi1-3/+1
This patch initializes frequency table for CPUFREQ statically. Change-Id: If64cd6665f22c57da49764e19cb9847f0a7a5aed Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2014-11-18Documentation: cpufreq: load_table: Update load_table debugfs file documentationChanwoo Choi1-4/+36
This patch add the detailed description of 'load_table' debugfs file to show collected CPUs load and the change of CPU frequency. Changes since v6: - No change Changes since v5: - Add description of test case Change-Id: Ieb4dbb5f76c4d704a7bf94479bfa91cb1b8cdfad Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2014-11-18cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUsChanwoo Choi5-25/+277
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>
2014-11-18cpufreq: Add debugfs directory for cpufreqChanwoo Choi2-0/+180
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>
2014-11-18ARM: dts: exynos3250: Add busfreq's dt data to support DVFS of memory ↵Chanwoo Choi1-0/+16
interface and bus This patch add Exynos3250 busfreq's dt data to support DVFS(Dynamic Voltage Frequency Scaling) of memory interface and bus. Exynos3250'busfreq driver would use following PPMU list: - PPMU_DMC0 - PPMU_DMC1 - PPMU_LEFT - PPMU_RIGHT Change-Id: Id22b34c1631e548af938a111310da5542322fd12 Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2014-11-18devfreq: exynos4: Move definition to remove build breakChanwoo Choi2-6/+6
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>
2014-11-18devfreq: exynos: Add Exynos3250 busfreq supportChanwoo Choi4-1/+1268
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>
2014-11-18drm: fimd: support display writeback modeDonghwa Lee5-21/+122
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>
2014-11-18input: touchscreen: mms128: remove CONFIG_TIZEN_WIP ifdefsBeomho Seo1-4/+0
This patch removes CONFIG_TIZEN_WIP ifdefs. Change-Id: I48c455d4ef67e60383e1c358be4124f78b4352e5 Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
2014-11-18au0828: workaround i2c clock speed for DViCO FusionHDTV7Joonyoung Shim1-1/+1
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>
2014-11-18ARM: Use 'model' property to set machine_name from Device TreeChanwoo Choi1-1/+1
This patch use 'model' property from Device Tree to set machine_name. The arm64 has already got the machine_name from Device Tree. Change-Id: I5a810cf3446a48336d1dd4dfe11e56116c1d5bc1 Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2014-11-18arm: use common of_flat_dt_match_machineRob Herring1-22/+21
Convert arm to use the common of_flat_dt_match_machine function. Change-Id: I10ae33da26089ddc43008aa2a133ab7d301b4401 Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: linux-arm-kernel@lists.infradead.org
2014-11-18of: introduce common FDT machine related functionsRob Herring2-0/+65
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>
2014-11-18arm: tizen_odroid_defconfig: built-in snd-usb-audioJoonyoung Shim1-4/+4
HVR950Q ananlog TV output needs snd-usb-audio, built-in it for user convenience. Change-Id: I7b274395f32d35be1841f3122a256f673d84a9c7 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-11-18ARM: dts: Add missing address/size-cells properties for Trats boardSylwester Nawrocki1-0/+2
Fixes compilation warning: DTC arch/arm/boot/dts/exynos4210-trats.dtb Warning (reg_format): "reg" property in /dsi@11C80000/panel@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /dsi@11C80000/panel@0 Warning (avoid_default_addr_size): Relying on default #size-cells value for /dsi@11C80000/panel@0 Change-Id: Ib1ec361d058fa89dda4391ca49015bdd8fb5185c Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2014-11-18drm/exynos: hdmi: fix macros for audio registersRobert Baldyga2-5/+5
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>
2014-11-18ARM: dts: Change i2s compatible string on Exynos4 SoCInha Song1-4/+1
This patch removes quirks from i2s node and change the i2s compatible names for Exynos4 SoC. Change-Id: Id9f4965ac10eb1bbdb1b4f1a4c20f263823d36db Signed-off-by: Inha Song <ideal.song@samsung.com>
2014-11-18ASoC: Samsung: I2S: Add quirks as driver data in I2SPadmavathi Venna2-37/+41
Samsung has different versions of I2S introduced in different platforms. Each version has some new support added for multichannel, secondary fifo, s/w reset control and internal mux for rclk src clk. Each newly added change has a quirk. So this patch adds all the required quirks as driver data and based on compatible string from dtsi fetches the quirks. Change-Id: Ib8d12633f3971f59284a5a1ae40d60f40411b2cc Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2014-11-18media: s5p-mfc: skip incomeplete frameDonghwa Lee2-2/+4
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>
2014-11-18media: s5p_mfc: Release ctx->ctx if failed to allocate ctx->shmZhaowei Yuan1-0/+1
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>
2014-11-18ARM: dts: Add configuration of audio clocks for exynos4412-odroidSylwester Nawrocki1-0/+18
This specifies the EPLL and Audio Subsystem clocks configuration for a set up with the MAX98090 codec as an I2S master. Change-Id: I2f9d28c34ed22e12760ed303a74595dc9a900c3e Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>