Skip to content

Commit

Permalink
Merge tag 'soc-fixes-6.13-4' of git://git.kernel.org/pub/scm/linux/ke…
Browse files Browse the repository at this point in the history
…rnel/git/soc/soc

Pull SoC fixes from Arnd Bergmann:
 "Two last minute fixes: one build issue on TI soc drivers, and a
  regression in the renesas reset controller driver"

* tag 'soc-fixes-6.13-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
  soc: ti: pruss: Fix pruss APIs
  reset: rzg2l-usbphy-ctrl: Assign proper of node to the allocated device
  • Loading branch information
Linus Torvalds committed Jan 17, 2025
2 parents 775a15e + 352bba6 commit ed9add2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions drivers/reset/reset-rzg2l-usbphy-ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ static int rzg2l_usbphy_ctrl_probe(struct platform_device *pdev)
vdev->dev.parent = dev;
priv->vdev = vdev;

device_set_of_node_from_dev(&vdev->dev, dev);
error = platform_device_add(vdev);
if (error)
goto err_device_put;
Expand Down
12 changes: 6 additions & 6 deletions include/linux/pruss_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,32 +144,32 @@ static inline int pruss_release_mem_region(struct pruss *pruss,
static inline int pruss_cfg_get_gpmux(struct pruss *pruss,
enum pruss_pru_id pru_id, u8 *mux)
{
return ERR_PTR(-EOPNOTSUPP);
return -EOPNOTSUPP;
}

static inline int pruss_cfg_set_gpmux(struct pruss *pruss,
enum pruss_pru_id pru_id, u8 mux)
{
return ERR_PTR(-EOPNOTSUPP);
return -EOPNOTSUPP;
}

static inline int pruss_cfg_gpimode(struct pruss *pruss,
enum pruss_pru_id pru_id,
enum pruss_gpi_mode mode)
{
return ERR_PTR(-EOPNOTSUPP);
return -EOPNOTSUPP;
}

static inline int pruss_cfg_miirt_enable(struct pruss *pruss, bool enable)
{
return ERR_PTR(-EOPNOTSUPP);
return -EOPNOTSUPP;
}

static inline int pruss_cfg_xfr_enable(struct pruss *pruss,
enum pru_type pru_type,
bool enable);
bool enable)
{
return ERR_PTR(-EOPNOTSUPP);
return -EOPNOTSUPP;
}

#endif /* CONFIG_TI_PRUSS */
Expand Down

0 comments on commit ed9add2

Please sign in to comment.