From: Imre Deak <imre.deak@intel.com>
To: Egbert Eich <eich@suse.de>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/SDVO: For sysfs link put directory and target in correct order
Date: Fri, 11 Apr 2014 20:26:25 +0300 [thread overview]
Message-ID: <1397237185.25357.8.camel@intelbox> (raw)
In-Reply-To: <1397236064-19263-1-git-send-email-eich@suse.de>
[-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --]
On Fri, 2014-04-11 at 19:07 +0200, Egbert Eich wrote:
> When linking the i2c sysfs file into the connector's directory
> pass directory and link target in the right order.
> This code was introduced with:
>
> commit 931c1c26983b4f84e33b78579fc8d57e4a14c6b4
> Author: Imre Deak <imre.deak@intel.com>
> Date: Tue Feb 11 17:12:51 2014 +0200
>
> drm/i915: sdvo: add i2c sysfs symlink to the connector's directory
>
> This is the same what we do for DP connectors, so make things more
> consistent.
>
> Signed-off-by: Egbert Eich <eich@suse.de>
Oops, good catch. The fix looks ok, fwiw:
Reviewed-by: Imre Deak <imre.deak@intel.com>
> ---
> drivers/gpu/drm/i915/intel_sdvo.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
> index 5043f16..2d4d461 100644
> --- a/drivers/gpu/drm/i915/intel_sdvo.c
> +++ b/drivers/gpu/drm/i915/intel_sdvo.c
> @@ -2428,8 +2428,8 @@ intel_sdvo_connector_init(struct intel_sdvo_connector *connector,
> if (ret < 0)
> goto err1;
>
> - ret = sysfs_create_link(&encoder->ddc.dev.kobj,
> - &drm_connector->kdev->kobj,
> + ret = sysfs_create_link(&drm_connector->kdev->kobj,
> + &encoder->ddc.dev.kobj,
> encoder->ddc.dev.kobj.name);
> if (ret < 0)
> goto err2;
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2014-04-11 17:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-11 17:07 [PATCH] drm/i915/SDVO: For sysfs link put directory and target in correct order Egbert Eich
2014-04-11 17:26 ` Imre Deak [this message]
2014-04-15 19:03 ` Daniel Vetter
2014-05-07 6:57 ` Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1397237185.25357.8.camel@intelbox \
--to=imre.deak@intel.com \
--cc=eich@suse.de \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox