Merge tag 'char-misc-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver updates from Greg KH: "Here is the big char/misc driver pull request for 5.4-rc1. As has been happening in previous releases, more and more individual driver subsystem trees are ending up in here. Now if that is good or bad I can't tell, but hopefully it makes your life easier as it's more of an aggregation of trees together to one merge point for you. Anyway, lots of stuff in here: - habanalabs driver updates - thunderbolt driver updates - misc driver updates - coresight and intel_th hwtracing driver updates - fpga driver updates - extcon driver updates - some dma driver updates - char driver updates - android binder driver updates - nvmem driver updates - phy driver updates - parport driver fixes - pcmcia driver fix - uio driver updates - w1 driver updates - configfs fixes - other assorted driver updates All of these have been in linux-next for a long time with no reported issues" * tag 'char-misc-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (200 commits) misc: mic: Use PTR_ERR_OR_ZERO rather than its implementation habanalabs: correctly cast variable to __le32 habanalabs: show correct id in error print habanalabs: stop using the acronym KMD habanalabs: display card name as sensors header habanalabs: add uapi to retrieve aggregate H/W events habanalabs: add uapi to retrieve device utilization habanalabs: Make the Coresight timestamp perpetual habanalabs: explicitly set the queue-id enumerated numbers habanalabs: print to kernel log when reset is finished habanalabs: replace __le32_to_cpu with le32_to_cpu habanalabs: replace __cpu_to_le32/64 with cpu_to_le32/64 habanalabs: Handle HW_IP_INFO if device disabled or in reset habanalabs: Expose devices after initialization is done habanalabs: improve security in Debug IOCTL habanalabs: use default structure for user input in Debug IOCTL habanalabs: Add descriptive name to PSOC app status register habanalabs: Add descriptive names to PSOC scratch-pad registers habanalabs: create two char devices per ASIC habanalabs: change device_setup_cdev() to be more generic ...
This commit is contained in:
@@ -383,12 +383,11 @@ static int mei_me_pci_resume(struct device *device)
|
||||
#ifdef CONFIG_PM
|
||||
static int mei_me_pm_runtime_idle(struct device *device)
|
||||
{
|
||||
struct pci_dev *pdev = to_pci_dev(device);
|
||||
struct mei_device *dev;
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: me: runtime_idle\n");
|
||||
dev_dbg(device, "rpm: me: runtime_idle\n");
|
||||
|
||||
dev = pci_get_drvdata(pdev);
|
||||
dev = dev_get_drvdata(device);
|
||||
if (!dev)
|
||||
return -ENODEV;
|
||||
if (mei_write_is_idle(dev))
|
||||
@@ -399,13 +398,12 @@ static int mei_me_pm_runtime_idle(struct device *device)
|
||||
|
||||
static int mei_me_pm_runtime_suspend(struct device *device)
|
||||
{
|
||||
struct pci_dev *pdev = to_pci_dev(device);
|
||||
struct mei_device *dev;
|
||||
int ret;
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: me: runtime suspend\n");
|
||||
dev_dbg(device, "rpm: me: runtime suspend\n");
|
||||
|
||||
dev = pci_get_drvdata(pdev);
|
||||
dev = dev_get_drvdata(device);
|
||||
if (!dev)
|
||||
return -ENODEV;
|
||||
|
||||
@@ -418,7 +416,7 @@ static int mei_me_pm_runtime_suspend(struct device *device)
|
||||
|
||||
mutex_unlock(&dev->device_lock);
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: me: runtime suspend ret=%d\n", ret);
|
||||
dev_dbg(device, "rpm: me: runtime suspend ret=%d\n", ret);
|
||||
|
||||
if (ret && ret != -EAGAIN)
|
||||
schedule_work(&dev->reset_work);
|
||||
@@ -428,13 +426,12 @@ static int mei_me_pm_runtime_suspend(struct device *device)
|
||||
|
||||
static int mei_me_pm_runtime_resume(struct device *device)
|
||||
{
|
||||
struct pci_dev *pdev = to_pci_dev(device);
|
||||
struct mei_device *dev;
|
||||
int ret;
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: me: runtime resume\n");
|
||||
dev_dbg(device, "rpm: me: runtime resume\n");
|
||||
|
||||
dev = pci_get_drvdata(pdev);
|
||||
dev = dev_get_drvdata(device);
|
||||
if (!dev)
|
||||
return -ENODEV;
|
||||
|
||||
@@ -444,7 +441,7 @@ static int mei_me_pm_runtime_resume(struct device *device)
|
||||
|
||||
mutex_unlock(&dev->device_lock);
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: me: runtime resume ret = %d\n", ret);
|
||||
dev_dbg(device, "rpm: me: runtime resume ret = %d\n", ret);
|
||||
|
||||
if (ret)
|
||||
schedule_work(&dev->reset_work);
|
||||
|
@@ -276,12 +276,11 @@ static int mei_txe_pci_resume(struct device *device)
|
||||
#ifdef CONFIG_PM
|
||||
static int mei_txe_pm_runtime_idle(struct device *device)
|
||||
{
|
||||
struct pci_dev *pdev = to_pci_dev(device);
|
||||
struct mei_device *dev;
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: txe: runtime_idle\n");
|
||||
dev_dbg(device, "rpm: txe: runtime_idle\n");
|
||||
|
||||
dev = pci_get_drvdata(pdev);
|
||||
dev = dev_get_drvdata(device);
|
||||
if (!dev)
|
||||
return -ENODEV;
|
||||
if (mei_write_is_idle(dev))
|
||||
@@ -291,13 +290,12 @@ static int mei_txe_pm_runtime_idle(struct device *device)
|
||||
}
|
||||
static int mei_txe_pm_runtime_suspend(struct device *device)
|
||||
{
|
||||
struct pci_dev *pdev = to_pci_dev(device);
|
||||
struct mei_device *dev;
|
||||
int ret;
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: txe: runtime suspend\n");
|
||||
dev_dbg(device, "rpm: txe: runtime suspend\n");
|
||||
|
||||
dev = pci_get_drvdata(pdev);
|
||||
dev = dev_get_drvdata(device);
|
||||
if (!dev)
|
||||
return -ENODEV;
|
||||
|
||||
@@ -310,7 +308,7 @@ static int mei_txe_pm_runtime_suspend(struct device *device)
|
||||
|
||||
/* keep irq on we are staying in D0 */
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: txe: runtime suspend ret=%d\n", ret);
|
||||
dev_dbg(device, "rpm: txe: runtime suspend ret=%d\n", ret);
|
||||
|
||||
mutex_unlock(&dev->device_lock);
|
||||
|
||||
@@ -322,13 +320,12 @@ static int mei_txe_pm_runtime_suspend(struct device *device)
|
||||
|
||||
static int mei_txe_pm_runtime_resume(struct device *device)
|
||||
{
|
||||
struct pci_dev *pdev = to_pci_dev(device);
|
||||
struct mei_device *dev;
|
||||
int ret;
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: txe: runtime resume\n");
|
||||
dev_dbg(device, "rpm: txe: runtime resume\n");
|
||||
|
||||
dev = pci_get_drvdata(pdev);
|
||||
dev = dev_get_drvdata(device);
|
||||
if (!dev)
|
||||
return -ENODEV;
|
||||
|
||||
@@ -340,7 +337,7 @@ static int mei_txe_pm_runtime_resume(struct device *device)
|
||||
|
||||
mutex_unlock(&dev->device_lock);
|
||||
|
||||
dev_dbg(&pdev->dev, "rpm: txe: runtime resume ret = %d\n", ret);
|
||||
dev_dbg(device, "rpm: txe: runtime resume ret = %d\n", ret);
|
||||
|
||||
if (ret)
|
||||
schedule_work(&dev->reset_work);
|
||||
|
Reference in New Issue
Block a user