Message ID | 20210106132221.17458-1-prabhakar.mahadev-lad.rj@bp.renesas.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline | expand |
Hi! > This is a incremental patch on top of series [1], as you pointed out in > patch [2] the function should be static, this patch fixes this issue > and is backported from upstream kernel. Thank you! I pushed applied and pushed the three series leading to this ("Add Renesas RPC-IF driver", "Add missing rpc-if clock on RZ/G2{E,M,N} SoC'", "Optimize pinctrl and add QSPI[01] pins for RZ/G2{H,M,N,E}".) This looks okay to me, so I'll test it and push it in few minutes. Best regards, Pavel
Hi Pavel, > -----Original Message----- > From: Pavel Machek <pavel@denx.de> > Sent: 06 January 2021 17:08 > To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com> > Cc: cip-dev@lists.cip-project.org; Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek > <pavel@denx.de>; Biju Das <biju.das.jz@bp.renesas.com> > Subject: Re: [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline > > Hi! > > > This is a incremental patch on top of series [1], as you pointed out in > > patch [2] the function should be static, this patch fixes this issue > > and is backported from upstream kernel. > > Thank you! I pushed applied and pushed the three series leading to > this ("Add Renesas RPC-IF driver", "Add missing rpc-if clock on > RZ/G2{E,M,N} SoC'", "Optimize pinctrl and add QSPI[01] pins for > RZ/G2{H,M,N,E}".) > > This looks okay to me, so I'll test it and push it in few minutes. > Thank you. Cheers, Prabhakar > Best regards, > Pavel > -- > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6046): https://lists.cip-project.org/g/cip-dev/message/6046 Mute This Topic: https://lists.cip-project.org/mt/79474032/4520388 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-
Hi! > commit b5881b153bc81d63a5a7e82a35e8a4bdbe1f8c73 upstream. > > Stub helper spi_mem_default_supports_op() should > be set to static inline > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > Signed-off-by: Mark Brown <broonie@kernel.org> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > --- > Hi Pavel, > > This is a incremental patch on top of series [1], as you pointed out in > patch [2] the function should be static, this patch fixes this issue > and is backported from upstream kernel. Thanks, applied and pushed out. Best regards, Pavel
diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h index 762b3974cf9c..46497e742e7f 100644 --- a/include/linux/spi/spi-mem.h +++ b/include/linux/spi/spi-mem.h @@ -315,6 +315,7 @@ spi_controller_dma_unmap_mem_op_data(struct spi_controller *ctlr, { } +static inline bool spi_mem_default_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) {