mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Linux 4.6-rc7
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJXL7HfAAoJEHm+PkMAQRiGYe8IAJBGaPUq38EJh2YOV+AQf9v6 t/alhwB3DUE1E0zjLy7I7JJ+xDXtKjZh9fS6OFuIS8Q3RIrBteIJ/oH8TPpt7yZ/ SnP6rYPvYD6CImTyrh7+ORL/udEwJX8+YqFYAgUAq167gvpDjYj8r26VzdIaIN4/ oBbL8NrQNWfODieywYyhUoitVhwMz09zmBfLtGVks4vd2jUJk2Fdd9cOtGV5tRfk DPndPgyQtbr8W0mKovV8sT9WkQeV5TsUr4MLgf7hjnAGYQ8+0KamkzzVVLBeBiiw uazyrOCFkddZp+N7KbmbOmazV/yULRuLGgDjVKazoCsOaKOvoGCzrCk7daOPy6Q= =CegX -----END PGP SIGNATURE----- Merge tag 'v4.6-rc7' into patchwork Linux 4.6-rc7 * tag 'v4.6-rc7': (185 commits) Linux 4.6-rc7 parisc: fix a bug when syscall number of tracee is __NR_Linux_syscalls x86/tsc: Read all ratio bits from MSR_PLATFORM_INFO mailmap: add John Paul Adrian Glaubitz byteswap: try to avoid __builtin_constant_p gcc bug lib/stackdepot: avoid to return 0 handle mm: fix kcompactd hang during memory offlining modpost: fix module autoloading for OF devices with generic compatible property proc: prevent accessing /proc/<PID>/environ until it's ready mm/zswap: provide unique zpool name mm: thp: kvm: fix memory corruption in KVM with THP enabled MAINTAINERS: fix Rajendra Nayak's address mm, cma: prevent nr_isolated_* counters from going negative mm: update min_free_kbytes from khugepaged after core initialization huge pagecache: mmap_sem is unlocked when truncation splits pmd rapidio/mport_cdev: fix uapi type definitions mm: memcontrol: let v2 cgroups follow changes in system swappiness mm: thp: correct split_huge_pages file permission maintainers: update rmk's email address(es) writeback: Fix performance regression in wb_over_bg_thresh() ...
This commit is contained in:
commit
a022f9347a
208 changed files with 1863 additions and 923 deletions
|
|
@ -826,11 +826,11 @@ struct media_device *media_device_find_devres(struct device *dev)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(media_device_find_devres);
|
||||
|
||||
#if IS_ENABLED(CONFIG_PCI)
|
||||
void media_device_pci_init(struct media_device *mdev,
|
||||
struct pci_dev *pci_dev,
|
||||
const char *name)
|
||||
{
|
||||
#ifdef CONFIG_PCI
|
||||
mdev->dev = &pci_dev->dev;
|
||||
|
||||
if (name)
|
||||
|
|
@ -846,16 +846,16 @@ void media_device_pci_init(struct media_device *mdev,
|
|||
mdev->driver_version = LINUX_VERSION_CODE;
|
||||
|
||||
media_device_init(mdev);
|
||||
#endif
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(media_device_pci_init);
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_USB)
|
||||
void __media_device_usb_init(struct media_device *mdev,
|
||||
struct usb_device *udev,
|
||||
const char *board_name,
|
||||
const char *driver_name)
|
||||
{
|
||||
#ifdef CONFIG_USB
|
||||
mdev->dev = &udev->dev;
|
||||
|
||||
if (driver_name)
|
||||
|
|
@ -875,9 +875,9 @@ void __media_device_usb_init(struct media_device *mdev,
|
|||
mdev->driver_version = LINUX_VERSION_CODE;
|
||||
|
||||
media_device_init(mdev);
|
||||
#endif
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__media_device_usb_init);
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* CONFIG_MEDIA_CONTROLLER */
|
||||
|
|
|
|||
|
|
@ -1448,22 +1448,13 @@ static int fimc_md_probe(struct platform_device *pdev)
|
|||
|
||||
platform_set_drvdata(pdev, fmd);
|
||||
|
||||
/* Protect the media graph while we're registering entities */
|
||||
mutex_lock(&fmd->media_dev.graph_mutex);
|
||||
|
||||
ret = fimc_md_register_platform_entities(fmd, dev->of_node);
|
||||
if (ret) {
|
||||
mutex_unlock(&fmd->media_dev.graph_mutex);
|
||||
if (ret)
|
||||
goto err_clk;
|
||||
}
|
||||
|
||||
ret = fimc_md_register_sensor_entities(fmd);
|
||||
if (ret) {
|
||||
mutex_unlock(&fmd->media_dev.graph_mutex);
|
||||
if (ret)
|
||||
goto err_m_ent;
|
||||
}
|
||||
|
||||
mutex_unlock(&fmd->media_dev.graph_mutex);
|
||||
|
||||
ret = device_create_file(&pdev->dev, &dev_attr_subdev_conf_mode);
|
||||
if (ret)
|
||||
|
|
|
|||
|
|
@ -493,21 +493,17 @@ static int s3c_camif_probe(struct platform_device *pdev)
|
|||
if (ret < 0)
|
||||
goto err_sens;
|
||||
|
||||
mutex_lock(&camif->media_dev.graph_mutex);
|
||||
|
||||
ret = v4l2_device_register_subdev_nodes(&camif->v4l2_dev);
|
||||
if (ret < 0)
|
||||
goto err_unlock;
|
||||
goto err_sens;
|
||||
|
||||
ret = camif_register_video_nodes(camif);
|
||||
if (ret < 0)
|
||||
goto err_unlock;
|
||||
goto err_sens;
|
||||
|
||||
ret = camif_create_media_links(camif);
|
||||
if (ret < 0)
|
||||
goto err_unlock;
|
||||
|
||||
mutex_unlock(&camif->media_dev.graph_mutex);
|
||||
goto err_sens;
|
||||
|
||||
ret = media_device_register(&camif->media_dev);
|
||||
if (ret < 0)
|
||||
|
|
@ -516,8 +512,6 @@ static int s3c_camif_probe(struct platform_device *pdev)
|
|||
pm_runtime_put(dev);
|
||||
return 0;
|
||||
|
||||
err_unlock:
|
||||
mutex_unlock(&camif->media_dev.graph_mutex);
|
||||
err_sens:
|
||||
v4l2_device_unregister(&camif->v4l2_dev);
|
||||
media_device_unregister(&camif->media_dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue